Ambesh Singh & Sachin Kumar
C# 13 Unleashed: Live Demos of my Top 10 Cutting-Edge Features!
#1about 3 minutes
A brief history of C# from version 1 to 12
Key features like generics, LINQ, async/await, and records were introduced in major C# versions leading up to C# 13.
#2about 1 minute
How to set up your environment for C# 13
To use C# 13 features, you must install the .NET 9 SDK and use a recent preview version of Visual Studio 2022.
#3about 3 minutes
Using the enhanced params modifier with collections
The `params` modifier in C# 13 is no longer limited to arrays and can now be used with any collection type, including `ReadOnlySpan` or custom types.
#4about 2 minutes
Using the caret operator in object initializers
The caret operator (`^`) can now be used within object initializers to set collection elements from the end, simplifying code for tasks like countdowns.
#5about 3 minutes
Simplifying terminal output with the new escape sequence
C# 13 introduces the `\e` escape sequence as a more intuitive and less error-prone way to represent the escape character for terminal and console applications.
#6about 3 minutes
Separating definitions with partial properties and indexers
Partial properties and indexers allow you to split a property's declaration from its implementation across different parts of a partial class, which is useful for source generators.
#7about 6 minutes
Guiding overload resolution with a priority attribute
The `OverloadResolutionPriority` attribute allows library authors to guide the compiler in choosing a specific method overload, resolving ambiguities without breaking changes.
#8about 3 minutes
Improving thread synchronization with the new lock type
A new `System.Threading.Lock` type provides a more efficient and clearer way to handle thread synchronization in multi-threaded applications compared to traditional locking mechanisms.
#9about 4 minutes
Optimizing method group overload resolution
The compiler now handles method groups more efficiently by eliminating non-matching method candidates earlier in the process, improving performance in complex overload scenarios.
#10about 3 minutes
Using ref and unsafe contexts in async methods
C# 13 allows the use of `ref` local variables and `unsafe` contexts within async methods and iterators, with restrictions around `await` and `yield` boundaries to ensure safety.
#11about 2 minutes
Allowing ref struct types in generic parameters
You can now use `ref struct` types as generic type parameters by using the `allow-ref-struct` constraint, enabling more efficient generic algorithms.
#12about 3 minutes
Implementing interfaces with ref struct types
`ref struct` types can now implement interfaces, combining the performance benefits of `ref struct` with the abstraction provided by interfaces, though conversion to the interface type is restricted.
Related jobs
Jobs that call for the skills explored in this talk.
Dennemeyer Group
Hesperange, Luxembourg
Intermediate
Senior
.NET
Structured Query Language (SQL)
Matching moments
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
06:17 MIN
Highlighting active sections with CSS scroll-driven animations
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
Featured Partners
Related Videos
Exploring the Latest Features of .NET and C# by Building a Game
Rainer Stropek
Hacking C# from the inside - how to do anything in NET
Adam Furmanek
5 features that help you get the most out of C# 10
Louëlla Creemers
Modern C#: A Dive into the Community's Most Loved new Features.
Louëlla Creemers
Tips, tricks and quirks in .NET
Paweł Łukaszuk
Best of Java 15 and beyond—my favorite features
Michael Inden
From Syntax to Singularity: AI’s Impact on Developer Roles
Anna Fritsch-Weninger
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
Chris Heilmann, Daniel Cranney & Elio Struyf
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Code Healers LLC
Hinesville, United States of America
Remote
€30-40K
Intermediate
Senior
.NET
React
JavaScript
+2

Code Healers LLC
Hinesville, United States of America
Remote
€20-30K
Junior
Intermediate
React
JavaScript
TypeScript
+1


Client Server
Sunderland, United Kingdom
Remote
£40-50K
Redis
React
Docker
+5

Ratbacher GmbH
Frankfurt am Main, Germany
Remote
€85K
Azure
React
DevOps
+6



