C# Documentation

Welcome to the C# Documentation

C# is a modern, object‑oriented programming language developed by Microsoft as part of the .NET ecosystem. Whether you're building desktop apps, web services, cloud solutions, or games, C# provides a powerful, type‑safe, and expressive syntax.

Hello World Example


using System;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
        }
    }
}
        

Run the program with dotnet run after creating a new console project.

Key Features

Explore More

Use the navigation pane to dive into specific topics or search the documentation using the search box above.