Microsoft .NET Documentation

Welcome to the .NET Documentation

Your comprehensive resource for building modern applications with .NET.

Get Started with .NET

.NET is a free, cross-platform, open-source developer platform for building many different types of applications. With .NET, you can create traditional Windows desktop applications, cloud-native microservices, ASP.NET web apps, and much more.

Key Features

Popular Application Types

Explore how .NET empowers you to build various applications:

Learn More

Dive deeper into the .NET ecosystem:

Example: A Simple "Hello, World!" in C#

Here's a basic example to get you started:


using System;

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

This simple program demonstrates the fundamental structure of a C# application. You can compile and run this code using the .NET CLI.