C# 11 previews raw string literals, dumps parameter null checking

Microsoft’s planned C# 11 language upgrade is set to feature capabilities such as raw string literals and checked user-defined operators, along with better performance.C# 11 is due to arrive as a production release with the .NET 7 software development platform in November. Runtime performance is improved in C# 11 by caching of static method groups, rather than creating fresh delegate instances. This will improve application performance particularly for ASP.NET. Developers get the benefit of this feature with no effort on their part. [ Also on InfoWorld: What’s new in Microsoft .NET 6 ] Raw string literals in C# 11, which start and end with three double-quotes ("""), promise to make it easier to work with literals that contain characters that would otherwise need to be escaped. Raw string literals have no escaping, so all characters are considered content and included in the string. The sequence \t is output as a backslash and the character t, not as the tab character.To read this article in full, please click here

Nov 30, -0001 - 00:00
 0
C# 11 previews raw string literals, dumps parameter null checking
Techatty All-in-1 Publishing
Techatty All-in-1 Publishing

Microsoft’s planned C# 11 language upgrade is set to feature capabilities such as raw string literals and checked user-defined operators, along with better performance.

C# 11 is due to arrive as a production release with the .NET 7 software development platform in November. Runtime performance is improved in C# 11 by caching of static method groups, rather than creating fresh delegate instances. This will improve application performance particularly for ASP.NET. Developers get the benefit of this feature with no effort on their part.

Raw string literals in C# 11, which start and end with three double-quotes ("""), promise to make it easier to work with literals that contain characters that would otherwise need to be escaped. Raw string literals have no escaping, so all characters are considered content and included in the string. The sequence \t is output as a backslash and the character t, not as the tab character.

To read this article in full, please click here

Talk to Techatty
Talk to Techatty
Techatty Connecting the world of tech differently! Read. Write. Learn. Thrive. Make an informed decision without distractions. We are building tech media and publication networks to connect YOU and everyone to reliable information, opportunities, and resources to achieve greater success.