MSDN says that you should use structs when you need lightweight objects. Are there any other scenarios when a struct is preferable over a class?
Some people might ha
Use a struct when you want value-type semantics instead of reference-type. Structs are copy-by-value so be careful!
Also see previous questions, e.g.
What's the difference between struct and class in .NET?