> C# is specifically designed for enterprise-style OOP
Then why would they add Span<T>, SIMD types and overhaul ref types in the first place?
Then why would they add Span<T>, SIMD types and overhaul ref types in the first place?
If you link an example snippet of the type of code that gave you pause, I’m sure there is a better and more idiomatic way to write it.