# 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.

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

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/novice)

Updated: September 27, 2026

## In other subjects

- [main Method in Java](https://www.ask-codey.com/glossary/main-method)

Source: https://www.ask-codey.com/glossary/main-method-c-sharp
