.NET Documentation

🌙

Understanding .NET Concepts

Managed Code

Managed code is executed by the Common Language Runtime (CLR), providing services such as garbage collection, type safety, and exception handling.

Read more in Managed Code.

Common Language Runtime (CLR)

The CLR is the execution engine for .NET applications. It handles compilation, memory management, security, and more.

Explore the CLR Overview for details.

Memory Management

.NET uses a generational garbage collector that automatically reclaims memory for objects that are no longer in use.

using System;

class Program
{
    static void Main()
    {
        var obj = new MyClass();
        // No explicit delete needed
    }
}

Learn more about Memory Management.

Assemblies & Deployment

Assemblies are the building blocks of .NET applications. They contain compiled code, metadata, and resources.

Details can be found in Assemblies.

On this page