✅ 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
leowest2mo 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}");
salt_pepper1765
salt_pepper17652mo ago
Ahhh too much javascript Thanks!
leowest
leowest2mo ago
these are specifying something to be printed no worries 😉
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts