News for hackers. Stuff that matters.
Re:C# 11 Preview Updates – Raw string literals, UTF-8 and more by jbluepolarbear on Sunday May 22, 2022 @12:41PM (#31470080)
I’ve been using C# for about 12 years. I look at the new features and think of places where it would clean things up or how I could build a new feature. An example: I used readonly structs to replace regular structs that were being passed in by reference (boxing) and the new ref for readonly is a one time cost, both speeding up the system and reducing garbage generated.

There are no comments on this comment yet.