0
Why we use {0} in c# and how to use it.
explain with exam and why it is used.
1 Odpowiedź
+ 3
there's no real reason for using it, some people just prefer
Console.WriteLine("abc {0}", msg);
over
Console.WriteLine("abc " + msg);
pretty sure that in practice, it really doesn't matter