The 'in'-modifier and the readonly structs in C#

added by DotNetKicks
3/7/2018 3:47:16 PM

2 Kicks, 333 Views

C# 7.2 got two very important features for high-performance scenarios -- the readonly structs and the in parameters. But to understand why this additions are so important and how they're related to each other we should look back in history. As you probably know, the .NET ecosystem has two family of types -- the value...