C
C#8mo ago
salty_pepper

✅ Never thought I would have to ask this, but Console.WriteLine() is not working

As you can see, L105 should print out key and value of the newNode. We can see both key and value properties of newNode contain actual values. For some weird reasons Console.WriteLine() is not printing them out? This is a Net8.0 console app.
No description
4 Replies
leowest
leowest8mo ago
you're not specifing it to print in the console.writeline ur just feeding it as parameters
Console.WriteLine("Something {0}, {1}", a, b);
Console.WriteLine("Something {0}, {1}", a, b);
or
Console.WriteLine($"Something {a}, {b}");
Console.WriteLine($"Something {a}, {b}");
salty_pepper
salty_pepperOP8mo ago
Ahhh too much javascript Thanks!
leowest
leowest8mo ago
these are specifying something to be printed no worries 😉
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server