method with console.writeline c# code example
Example 1: c# print to console
Console.WriteLine("This is C#");
Example 2: how to print statement in c#
Debug.Log("This is C# programming"); //for Unity
Console.WriteLine("This is C#");
Debug.Log("This is C# programming"); //for Unity