I’ve been using C# for a long time but I never quite understood the differences between classes and structs. I decided to do a deep dive and ended up learning a lot more than I expected. The differences have a lot to do with how the memory is allocated, stored and managed. There are some subtle performance differences, but it would be a stretch to say that structs are always noticeably faster.
Read more: https://youtu.be/uFHtFOmH2OI