C
C#9mo 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
leowest9mo 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_pepperOP9mo ago
Ahhh too much javascript Thanks!
leowest
leowest9mo ago
these are specifying something to be printed no worries 😉
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server