.NET 11 was released on 10 November 2026. Its launch SDK is 11.0.100, and projects targeting net11.0 use C# 15 by default. The release brings union types, faster command-line tooling, new library APIs and changes across web, mobile and desktop development.

This guide helps C# developers decide what to learn, what to test and whether to upgrade. It covers every feature category in Microsoft's C# 15 and SDK release notes, with a wider platform checklist. It does not list every runtime patch. Version and support details were checked on 12 November 2026.

.NET 11 release date, SDK version and support

  • Release date: 10 November 2026.
  • Runtime: .NET 11.0.0 at launch.
  • SDK: 11.0.100 at launch. Check the download page for later servicing versions.
  • Language: C# 15 for net11.0 projects.
  • Support: Standard Term Support, ending 14 November 2028.

.NET 10 remains an LTS release supported until 14 November 2028. .NET 8 and .NET 9 reached end of support on 10 November 2026. Choose a supported version and keep its patches current. See Microsoft's support policy and .NET 11 download page.

Understand the SDK, runtime and C# version first

The SDK builds and publishes applications. The runtime executes them. C# is the language the compiler understands. These versions are related, but installing an SDK does not change the target framework of every project on your machine.

Check the selected SDK and installed runtimes before investigating a language error:

dotnet --version
dotnet --list-sdks
dotnet --list-runtimes

A repository's global.json can select an older SDK even when .NET 11 is installed. For a new learning folder, this configuration selects the 11.0.100 feature band and permits later patches in that band:

{
  "sdk": {
    "version": "11.0.100",
    "rollForward": "latestPatch",
    "allowPrerelease": false
  }
}

Run commands from that folder. Keep production SDK selection deliberate and install the chosen SDK on CI agents too. A runtime-only server does not need the whole SDK simply to run a framework-dependent application.

C# 15 features: the complete language checklist

Microsoft's C# 15 feature list contains seven areas:

  • Collection expression arguments: supply constructor or factory arguments with an initial with(...) element.
  • Union types: declare a fixed set of alternative case types.
  • Closed hierarchies: restrict direct inheritance to the declaring assembly.
  • Extension indexers: add indexing syntax through extension blocks.
  • Labeled break and continue: name an enclosing loop or switch as the jump target.
  • Non-virtual static interface members: use these helpers on older runtimes without default-interface support. Other interface features still have runtime requirements.
  • Memory safety preview: revised unsafe boundaries and pointer rules. This requires explicit preview configuration.

The first six do not require the preview language setting in a net11.0 project. Do not label the memory safety work as fully released.

Union types make possible results visible

This original example models a small lookup with two outcomes. Replace Program.cs in a new net11.0 console project with:

LookupResult result = new Found("Keyboard");
string message = result switch
{
    Found item => $"Found: {item.Name}",
    Missing item => $"Missing: {item.Key}"
};
Console.WriteLine(message);

public sealed record Found(string Name);
public sealed record Missing(string Key);
public union LookupResult(Found, Missing);

The expected output is Found: Keyboard. The value holds one of the declared cases, and the switch describes how to handle each. Adding another case should trigger a review of callers. This is more informative than returning an object and expecting callers to guess its type.

A union is a language model for alternatives; it does not automatically define a compatible public JSON contract. Decide how clients distinguish cases before changing an API response. Read the union type reference for conversions, default values and matching rules.

Closed hierarchies solve a different modeling problem

Use a union to group case types without requiring shared inheritance. Use a closed class when you own a base type and its direct descendants. A closed class is implicitly abstract. The restriction applies to direct descendants; a child is not automatically closed. Seal or close descendants where your model needs that boundary. See the closed modifier rules.

Collection arguments keep equality rules explicit

HashSet<string> skills =
    [with(StringComparer.OrdinalIgnoreCase), "CSharp", "CSHARP", "SQL"];
Console.WriteLine(skills.Count);

The expected count is 2 because the comparer treats the two spellings of CSharp as equal. When reviewing collection code, ask which equality rule the task needs. A shorter initializer does not remove that design decision.

.NET 11 SDK features: a practical map

The complete SDK release notes cover these groups:

  • Startup and footprint: Native AOT CLI entry point, warm MSBuild server, partial ReadyToRun hooks and Linux/macOS deduplication.
  • Daily commands: solution filters, file-based includes/references/directive metadata, cached AOT launches, run environment variables, launch arguments, watch/device selection, completions, reference defaults and formatting fixes.
  • Analysis: clearer CA1873 diagnostics, analyzer fixes, corrected AnalysisLevel and a tool-packaging warning.
  • Tests: MTP runner selection, dependencies, runtime selection, module exclusions, progress, cancellation, mobile devices, run policies, traversal projects, report layout and xUnit v3/NUnit templates.
  • Build and packages: faster wildcard evaluation and configurable minimum package publication age.
  • Assets and containers: asset groups, TypeScript integration, Podman multi-architecture publishing, native runtime selection and reproducible container output.
  • Telemetry: OpenTelemetry-backed CLI telemetry and updated exporter/build-server settings.

Some changes help SDK or component authors more than application developers. Some test switches apply specifically to Microsoft Testing Platform. Use the release-note links to check prerequisites before changing a pipeline.

Try the tools on a small console app

dotnet new console -n ReleaseNotesDemo -f net11.0
dotnet run --project ReleaseNotesDemo

Start with the union example above. Then try the collection example in a separate console project. Keeping experiments separate makes compiler errors easier to explain and avoids mixing two sets of top-level statements.

For a team evaluating the SDK, record a clean build and a repeated build on the same machine. Compare the same repository, dependencies and command. Faster CLI startup is useful, but it is not proof that your application's request handling improved.

Runtime and libraries: what application developers should review

The runtime changes include JIT, Native AOT, diagnostics and hardware improvements. Minimum CPU requirements also changed. Test the oldest hardware you support, including build agents and deployment hosts.

Runtime Async remains a preview for application opt-in. Runtime libraries use the new model, but enabling it in your own code is a separate choice. net11.0 projects do not need EnablePreviewFeatures just for this scenario. Check the documented compiler setting and validate profiling, tracing and dependencies before adopting it.

The library updates include process run/capture helpers, Zstandard compression, JSON union and JSON Lines support, numeric additions, networking and cryptography APIs, richer LINQ joins, cache metrics and asynchronous validation.

Four adapters expose existing memory as streams: ReadOnlyMemoryStream, WritableMemoryStream, ReadOnlySequenceStream and StringStream. That can avoid an intermediate copy when an API expects a stream. It does not remove ownership, lifetime or encoding decisions from your design.

Before replacing an existing helper, write down the behavior you depend on: cancellation, error handling, input size and platform support. Check the new API against that list. Do not turn a release-note summary into an untested performance claim.

ASP.NET Core, EF Core, mobile, desktop and AI

The wider platform also changes. Microsoft's .NET 11 overview is the entry point for workload-specific documentation.

  • ASP.NET Core and Blazor: review asynchronous validation, OpenAPI 3.2, union JSON contracts, SignalR identity refresh and rendering/form improvements.
  • EF Core 11: review query translation, complex types, JSON mappings and migrations. Check provider-specific EF Core details before relying on a feature. EF11 requires .NET 11.
  • .NET MAUI: the move to CoreCLR and changes in handlers and XAML workflows deserve device testing. Platform restrictions still apply.
  • Windows development: examine the relevant WinForms, WPF or Windows App SDK documentation for your application.
  • AI tooling: evaluate the MCP server template and Microsoft.Extensions.AI where useful. These do not make every AI package part of the base runtime.

Preview boundaries matter: Runtime Async, memory safety, dotnetup, experimental Blazor AI components and selected provider/platform capabilities do not all share the same stability level. The launch announcement identifies those boundaries and links to the product teams.

.NET 10 vs .NET 11: should you upgrade?

For a supported .NET 10 application, start with a specific reason: a needed language feature, supported dependency or measured tooling improvement. Both .NET 10 and .NET 11 currently end support on 14 November 2028. The LTS label alone does not give .NET 10 a later end date than .NET 11.

For an application still on .NET 8 or 9, moving to a supported release is more urgent. Choose the target after checking hosting, dependencies and operational constraints. Keep framework selection separate from a decision to enable preview features.

A safe upgrade checklist

  1. Record the current SDK, target frameworks, packages, workloads and deployment model.
  2. Review the .NET 11 breaking changes, including hardware and workload requirements.
  3. Make the upgrade in a separate branch. Update SDK selection, target frameworks and compatible dependencies.
  4. Build and test the actual publishing mode. Include authentication, serialization, background work and data access.
  5. For databases, inspect generated SQL and migration scripts against a safe copy before production changes.
  6. Deploy to staging. Compare errors, latency and memory with the same workload.
  7. Prepare rollback artifacts and observe the production release before retiring them.

These are release checks, not reasons to rewrite working code. A new feature is useful when it solves a problem your application actually has.

Interview questions about .NET 11 and C# 15

Does installing .NET 11 upgrade an existing project?

No. Check global.json and the project's target framework. SDK selection and application targeting are separate.

How would you explain a union to an interviewer?

It declares that a value can be one of a fixed list of case types. Explain the possible outcomes, show how the caller handles each, and discuss how adding a case affects callers.

Should every team enable preview features?

No. Evaluate the specific feature and its support boundaries. Use a separate experiment with explicit settings and tests rather than enabling all previews across a production repository.

What should you practice next?

Build a tiny example, explain its output and describe one trade-off. Then revisit dependency-injection lifetimes, options and configuration and integration-test boundaries. These fundamentals still matter when an interview includes the latest release.