<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PolySharp on Daniel Genezini</title><link>https://genezini.com/tags/polysharp/</link><description>Recent content in PolySharp on Daniel Genezini</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>2022 Daniel Genezini All rights reserved</copyright><lastBuildDate>Mon, 06 Feb 2023 07:30:00 -0300</lastBuildDate><atom:link href="https://genezini.com/tags/polysharp/index.xml" rel="self" type="application/rss+xml"/><item><title>How to use C# 11 features in .NET 6 or older versions (even .NET Framework 2.0)</title><link>https://genezini.com/blog/p/how-to-use-c-sharp-11-features-in-dotnet-6-or-older-versions/</link><pubDate>Mon, 06 Feb 2023 07:30:00 -0300</pubDate><guid>https://genezini.com/blog/p/how-to-use-c-sharp-11-features-in-dotnet-6-or-older-versions/</guid><description>&lt;img src="https://genezini.com/blog/p/how-to-use-c-sharp-11-features-in-dotnet-6-or-older-versions/cover.jpg" alt="Featured image of post How to use C# 11 features in .NET 6 or older versions (even .NET Framework 2.0)" /> 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).</description></item></channel></rss>