String interpolation | C# 6 | Stable | Language fundamentals | Guide |
nameof | C# 6 | Stable | Language fundamentals | Guide |
Null-coalescing (??) | C# 2 | Stable | Language fundamentals | Guide |
Null-conditional (?.) | C# 6 | Stable | Language fundamentals | Guide |
var (implicit typing) | C# 3 | Stable | Language fundamentals | Guide |
Anonymous types | C# 3 | Stable | Language fundamentals | Guide |
Dynamic | C# 4 | Stable | Language fundamentals | Guide |
Top-level statements | C# 9 | Stable | Language fundamentals | Guide |
File-scoped namespaces | C# 10 | Stable | Language fundamentals | Guide |
Raw string literals | C# 11 | Stable | Language fundamentals | Guide |
Collection expressions | C# 12 | Stable | Language fundamentals | Guide |
Break vs Continue | โ | Stable | Control flow | Guide |
Switch expressions | C# 8 | Stable | Control flow | Guide |
Pattern matching โ Basic | C# 7 | Stable | Pattern matching & records | Guide |
Pattern matching โ Advanced | C# 9โ12 | Stable | Pattern matching & records | Guide |
Records | C# 9 | Stable | Pattern matching & records | Guide |
Tuples | C# 7 | Stable | Language fundamentals | Guide |
Deconstruction | C# 7 | Stable | Language fundamentals | Guide |
Extension methods | C# 3 | Stable | Object-oriented | Guide |
Auto-implemented properties | C# 3 | Stable | Properties & events | Guide |
Expression-bodied members | C# 6 | Stable | Object-oriented | Guide |
Indexers | C# 1 | Stable | Properties & events | Guide |
Init-only setters | C# 9 | Stable | Properties & events | Guide |
Required members | C# 11 | Stable | Properties & events | Guide |
Global usings | C# 10 | Stable | Source generation & modern C# | Guide |
Primary constructors | C# 12 | Stable | Source generation & modern C# | Guide |
async/await | C# 5 | Stable | Async & parallel | Guide |
Lambda expressions | C# 3 | Stable | Generics & LINQ | Guide |
LINQ query expressions | C# 3 | Stable | Generics & LINQ | Guide |
IEnumerable vs IQueryable | .NET 3.5 | Stable | Generics & LINQ | Guide |
Iterator (yield) | C# 2 | Stable | Generics & LINQ | Guide |
Span<T> & ref structs | C# 7.2+ | Stable | Async & parallel | Guide |
unsafe & fixed | C# 1 | Advanced | Language fundamentals | Guide |
Lazy properties | Custom | Stable | Properties & events | Guide |
Validated properties | Custom | Stable | Properties & events | Guide |
Computed properties | Custom | Stable | Properties & events | Guide |