- Home
- .NET code examples
- C# 13 - Code examples that include all the new features
C# 13 - Code examples that include all the new features
C# 13 has been launched as part of the .NET 9 release and it comes with lots of new features.
paramscollections- New lock object
- New escape sequence
- Implicit index access
refinasyncmethodsallows ref structref structinterfaces- Partial properties and indexers
Software
This is the software that will need to be installed onto your machine.
- Visual Studio 2022. Version 17.12.0 or above. It will work with the free community version.
- .NET 9 SDK. Version 9.0.0 or above.
Get the application working
You'll need to fill out the code example form. We will send you an email where you can download the code example.
Open the project in Visual Studio
Open up RoundTheCode.CSharp13.sln in Visual Studio 2022. This will open up a console application with each new feature added to a separate class file.
More information
All these new features are demonstrated in our C# 13 video which you can watch to get a better idea on how they work.
You can also read the tutorial on the new features of C# 13 to find out more about them.
Give us your anonymous feedback regarding this page, or any other areas of the website.
Watch .NET tutorials
Subscribe to our YouTube channel
Related pages