Console.WriteLine("The value of mylnt is {0} and the value of myDoub1e is {1}" , mylntl, myDouble); Extra space Console.WriteLine("The value of mylnt is {0, 5} and the value of myDoubIe is {1, 5}" , mylnt,myDouble); Different ways of doing it Console.WriteLine ("The value of mylnt is + mylnt + " and the value of myDoub1e is "+ myDoub1e);
@Gamez4eveR5 жыл бұрын
no Console.WriteLine($"{myInt}");?
@nithinrajchittath78205 ай бұрын
Yeah it's wierd that he missed the most important and widely used technique.