I couldn't understand why {0} {1}etc are used in equality with variables to print same things in c# | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

I couldn't understand why {0} {1}etc are used in equality with variables to print same things in c#

class Program { static void Main(string[] args) { int x = 10; double y = 20; Console.WriteLine("x = {0}; y = {1}", x, y); } } }

24th Sep 2018, 12:59 PM
haris Ahmad
haris Ahmad - avatar
0 ответов