How to use C# 11 features in .NET 6 or older versions (even .NET Framework 2.0)
C# 11 on AWS Lambda and Dataverse plugins
Introduction
At each release, C# adds features that help us make our codes cleaner, more readable and more maintainable. The problem is that, because some features are dependent of runtime implementations, C# versions are generally tied to .NET runtime versions. For example, C# 11 is enabled only in .NET 7 and above.
In this post, I’ll show how to use C# 11 in older runtime version (even .NET Framework 2.0).