0
what is the mean of into{0} which is used in printing satament
it is usesd in Console. WriteLine()
5 Réponses
+ 1
may be its allocated some memmory for store temp values
0
can you explain with the help of example please
0
For example:
Console.WriteLine("The result is {0}", x);
[the result is stored in x]
0
Its just for format Console.WriteLine("First name : {0} , Last name : {1} ",john,cena);
output:
First name : john , Last name : cena
0
Console.WriteLine("I really like {0}, She's the best!, girlfriend);
// This is the same as the following.
Console.WriteLine("I really like " + girlfriend + ", She's the best!");