Posts tagged with "C#"

Exploring .NET 11 Preview 1 Runtime Async: A dive into the Future of Async in .NET

Feb 14, 2026

.NET 11 Preview 1 ships a groundbreaking feature: Runtime Async. Instead of relying solely on the C# compiler to rewrite async/await methods into state machines, the .NET runtime itself now understands async methods as a first-class concept. This article explores what Runtime Async is, why it matters, what changed in Preview 1, and how you can experiment with it today.

Continue reading

C# 14 More Partial Members: Partial Events and Partial Constructors

Jan 3, 2026

In C#, partial has long been a practical bridge between human-authored code and tool-generated code. With C# 14, that bridge gets wider: instance constructors and events can now be declared as partial members.

This article explains what “more partial members” means in C# 14, the rules that keep it predictable, and the generator-heavy scenarios it's intended to support.

Continue reading

C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions

Dec 29, 2025

Extension methods have been a core C# feature since version 3.0, enabling developers to add methods to types without modifying source code. With C# 14 and .NET 10, Microsoft introduces extension members—a powerful enhancement that extends beyond methods to include properties, operators, and static members.

This comprehensive guide explores how C# 14 extension members enable you to add mathematical operators to Point, create static factory properties for IEnumerable<T>, and organize extensions more elegantly than ever before.

Continue reading

C# 14 Null-conditional Assignment: Complete Guide to Elegant Null Handling

Dec 28, 2025

If you've been working with C# since the introduction of null-conditional operators in C# 6.0, you've likely appreciated how ?. and ?[] simplified null-checking when reading values. But what about writing values conditionally? That's where C# 14's null-conditional assignment comes in—and it's a nice improvement for modern C# development.

Continue reading

Page 1 of 8