0

What does {0} {1} means?

why require to assign ×={0} while you already asigned ×=10 int

21st Apr 2017, 6:43 PM
Satyam Pioneer
Satyam Pioneer - avatar
1 Odpowiedź
+ 1
{0} is a format specifier to display the value of your variable. eg. Console. WriteLine("the value {0}", x); And if you have more, you could continue with {1} {2} etc So x= 10 is different from {0}
21st Apr 2017, 8:27 PM
blueelmo