Duplicate: When should I use a structure instead of a class?
Just wondering if anyone can provide some advice or examples of when it is best to use a structure over a class in .NET or vice versa
I have done some background reading and understand the differences between two, ie structures are stored on the stack, classes on the heap ect. But havent been able to find some clear examples where one would provide a benefit over the other.
Many Thanks