# .NET 11;C#

Published articles for .NET 11;C#.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## A faster, lighter C# Dev Kit

DevFeed: [A faster, lighter C# Dev Kit](<https://devfeed.tech/articles/a-faster-lighter-c-dev-kit-66364.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/faster-lighter-csharp-dev-kit/>)

Author: Drew Noakes

Published: 2026-10-06T17:05:00Z

Content type: article

Language: en

Sources: [.NET Blog](<https://devfeed.tech/sources/net-blog.md>)

Topics: [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [SDK](<https://devfeed.tech/topics/sdk.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [build-times](<https://devfeed.tech/tags/build-times.md>), [c-sharp-dev-kit](<https://devfeed.tech/tags/c-sharp-dev-kit.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [dev](<https://devfeed.tech/tags/dev.md>), [lighter](<https://devfeed.tech/tags/lighter.md>), [msbuild](<https://devfeed.tech/tags/msbuild.md>), [native-aot](<https://devfeed.tech/tags/native-aot.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [performance](<https://devfeed.tech/tags/performance.md>), [visual-studio-code](<https://devfeed.tech/tags/visual-studio-code.md>)

### AI overview

C# Dev Kit 11.0 has been rearchitected to improve solution loading, incremental builds, memory use, and project-file editing in Visual Studio Code. The post describes project caching, a consolidated Native AOT server, MSBuild language support, and a C# Doctor tool for diagnosing project setup problems. The release is available in pre-release.

### Source excerpt

C# Dev Kit has been rebuilt to open solutions in about a second and run on a fraction of the memory, and this post walks through what changed for you. The post A faster, lighter C# Dev Kit appeared first on .NET Blog.

## The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7

DevFeed: [The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7](<https://devfeed.tech/articles/the-pain-of-serializing-unions-and-closed-class-hierarchies-with-system-text-json-exploring-the-net-11-preview-part-7-51479.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-7-the-pain-of-serializing-unions-and-closed-class-hierarchies-with-system-text-json/>)

Author: Andrew Lock

Published: 2026-09-01T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [system.text.json](<https://devfeed.tech/topics/system-text-json.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Closed hierarchies](<https://devfeed.tech/topics/closed-hierarchies.md>), [JSON](<https://devfeed.tech/topics/json.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [closed-hierarchies](<https://devfeed.tech/tags/closed-hierarchies.md>), [json](<https://devfeed.tech/tags/json.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [net-11-preview-7](<https://devfeed.tech/tags/net-11-preview-7.md>), [preview](<https://devfeed.tech/tags/preview.md>), [rust](<https://devfeed.tech/tags/rust.md>), [system-text-json](<https://devfeed.tech/tags/system-text-json.md>)

### AI overview

This tutorial examines how System.Text.Json handles union types and closed class hierarchies introduced in .NET 11 and C# 15. It compares the two approaches, demonstrates serialization and deserialization, and documents errors and compatibility edge cases encountered in .NET 11 Preview 7.

### Source excerpt

In this post I discuss the System.Text.Json support for unions and closed hierarchies coming in .NET 11, the decisions made, and some of the sharp edges I hit

## Improvements to Reading Process Output in .NET 11 Preview 5

DevFeed: [Improvements to Reading Process Output in .NET 11 Preview 5](<https://devfeed.tech/articles/improvements-to-reading-process-outputs-exploring-the-net-11-preview-part-5-51477.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-5-improvments-to-process-apis/>)

Author: Andrew Lock

Published: 2026-07-07T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [Process](<https://devfeed.tech/topics/process.md>), [Deadlock](<https://devfeed.tech/topics/deadlock.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [deadlock](<https://devfeed.tech/tags/deadlock.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [preview](<https://devfeed.tech/tags/preview.md>), [process](<https://devfeed.tech/tags/process.md>)

### AI overview

This post examines .NET 11 improvements to the Process APIs, focusing on running processes and reading standard output and error without deadlocks. It compares the behavior in .NET 10 with the newer APIs and explains how parallel pipe draining avoids blocking.

### Source excerpt

In this post I show some of the improvements to the Process API in .NET 11 for running processes and reading their outputs without risk of deadlock

## Closed class hierarchies: Exploring the .NET 11 preview - Part 4

DevFeed: [Closed class hierarchies: Exploring the .NET 11 preview - Part 4](<https://devfeed.tech/articles/closed-class-hierarchies-exploring-the-net-11-preview-part-4-51476.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-4-closed-class-hierarchies/>)

Author: Andrew Lock

Published: 2026-06-30T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [class](<https://devfeed.tech/topics/class.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [class](<https://devfeed.tech/tags/class.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [hierarchy](<https://devfeed.tech/tags/hierarchy.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [preview](<https://devfeed.tech/tags/preview.md>)

### AI overview

This post explains closed class hierarchies in .NET 11 preview, including how they restrict inheritance to a single assembly and enable the compiler to perform exhaustiveness checking.

### Source excerpt

In this post I describe what a close closed hierarchy is, how to create one, and discuss why you might want to

## Avoiding ToString() allocations with StringBuilder.MoveChunks: Exploring the .NET 11 preview - Part 3

DevFeed: [Avoiding ToString() allocations with StringBuilder.MoveChunks: Exploring the .NET 11 preview - Part 3](<https://devfeed.tech/articles/avoiding-tostring-allocations-with-stringbuilder-movechunks-exploring-the-net-11-preview-part-3-51475.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-3-avoiding-tostring-allocations-with-stringbuilder-movechunks/>)

Author: Andrew Lock

Published: 2026-06-23T10:00:00Z

Content type: article

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [API](<https://devfeed.tech/topics/api.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [development](<https://devfeed.tech/tags/development.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>)

### AI overview

This article examines the .NET 11 preview MoveChunks API for StringBuilder. It explains how the API moves accumulated chunks into a new instance, resets the original, and can reduce allocations compared with ordinary string conversion or copying.

### Source excerpt

In this post I take a short look at the new MoveChunks API, explore how it works, what it's for, and how the new API provides opportunities for public APIs

## .NET (OK, C#) finally gets union types🎉: Exploring the .NET 11 preview - Part 2

DevFeed: [.NET (OK, C#) finally gets union types🎉: Exploring the .NET 11 preview - Part 2](<https://devfeed.tech/articles/net-ok-c-finally-gets-union-types-exploring-the-net-11-preview-part-2-51474.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/>)

Author: Andrew Lock

Published: 2026-05-19T10:00:00Z

Content type: article

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [preview](<https://devfeed.tech/tags/preview.md>), [programming](<https://devfeed.tech/tags/programming.md>), [types](<https://devfeed.tech/tags/types.md>), [union-types](<https://devfeed.tech/tags/union-types.md>)

### AI overview

The post examines union types in C# 15 and .NET 11 preview, covering their purpose, implementation, usage, and custom type creation. It also explains how unions can represent values from several potentially unrelated types and relates them to the result pattern.

### Source excerpt

In this post I discuss the support for union types released in .NET 11, how they're implemented, the choices made, and how to create your own