Session
How to Use Structs to Improve Performance
Most .NET developers reach for classes by default and rarely consider structs. That’s a missed opportunity. When used correctly, structs can dramatically improve performance—but only if you understand how they behave under the hood.
In this session, we’ll dive deep into the real mechanics of value types. You’ll learn:
- How structs interact with the Garbage Collector
- What their memory layout looks like and why it matters
- How to avoid accidental boxing
- How to implement equality and GetHashCode the right way
- When and why to use readonly
- How to use ref to prevent slow copies
- And how to unlock SIMD for serious speed gains
By the end, you’ll know exactly when structs make sense, how to design them properly, and how they can give your application a measurable performance boost.
If you want to squeeze more speed out of your .NET code, this session is for you.
Fons Sonnemans
Trainer, Consultant & App Developer
Asten, The Netherlands
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top