c# console output variable code example
Example 1: c# write to console
Console.Write("Hello");
Console.WriteLine("World");
Example 2: how to write a variable in console c#
Console.WriteLine("{0}.{1}.{2}", mon, da, yer);
Console.Write("Hello");
Console.WriteLine("World");
Console.WriteLine("{0}.{1}.{2}", mon, da, yer);