Main Method

The traditional starting method of a C# application.

What is Main Method in C#?

Main Method — The traditional starting method of a C# application.

class Program
{
    static void Main()
    {
        string message = "Hello, C#!";
    }
}

Level: Novice · More C# terms at this level

Updated

In other subjects