4 ms·
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 exam
by jbluepolarbear 4y ago
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.