Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
2 votes
1 answer
542 views

Are mutable structs copied when passed through methods via in parameters?

I want to minimize copying of structs in a maths library and read about the C# 7.2 in modifier, especially the warnings when using it with mutable structs. It so happens that I have this mutable ...
Ray's user avatar
  • 8,594