© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. ByrneTarget C#https://doi.org/10.1007/978-1-4842-8619-7_26

26. C# 11

Gerard Byrne1  
(1)
Belfast, Ireland
 

C# New Features

With the latest C# release, C# 11, expected in November 2022, we will be treated to some new features to help us develop code.

We can use the features of C# 11 in their current form, prior to official release , by amending the project file, .csproj, to inform it that we wish to use the preview feature of the language. The .csproj file defines the project content, platform requirements, and, importantly for us, the language versioning information. It may also contain information about servers such as a database or web server.

To amend the ...

Get Target C#: Simple Hands-On Programming with Visual Studio 2022 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.