0

What is {0}

On Console.WriteLine("Hello {0}", yourName); I know that it puts your answer there but does it mean something ? And if yes, are there more of them, for example {1} or {2} ?

12th Oct 2018, 7:50 PM
PhyniX
1 Odpowiedź
+ 4
Yes. Console.WriteLine("{0}{1}{2}…",param1,param2,param3); ...
12th Oct 2018, 7:53 PM
Valen.H. ~
Valen.H. ~ - avatar