I did not understand the use of {0} and {1} . I know the way of writing but didn't understood the syntax of displaying a message | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I did not understand the use of {0} and {1} . I know the way of writing but didn't understood the syntax of displaying a message

Console.WriteLine ("x ={0};y={1};z={2}",x,y,z); will this work?

25th May 2018, 8:46 PM
Masterpeice #changed_man
Masterpeice #changed_man - avatar
2 Antworten
+ 3
yes
25th May 2018, 9:10 PM
Kawaii
Kawaii - avatar
+ 2
Try it. Fix it if it does not work.
25th May 2018, 9:15 PM
Manual
Manual - avatar