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); } } }
0 ответов
class Program { static void Main(string[] args) { int x = 10; double y = 20; Console.WriteLine("x = {0}; y = {1}", x, y); } } }