Chapter 3: Introducing C# 10
C# is an elegant and type-safe object-oriented programming language that allows developers to build a wide range of secure and robust applications that run in the .NET ecosystem and is in the top 5 of the popular programming languages list published by GitHub.
C# was initially developed by Anders Hejlsberg at Microsoft as part of the .NET initiative. Since its first release in January 2002, there have been new features added consistently to the language to improve performance and productivity.
C# 10 released with .NET 6 comes with some cool new language features along with enhancements to the features released in earlier versions, which improve developer productivity. In this chapter, we will explore some of the new C# language features:
- Simplification of the using directives
- The record structs
- Improvements to the Lambda expressions
- Enhancements to interpolated strings
- Extended property patterns
- Additions to the caller...