when and why do we use struct in C# [duplicate]
Possible Duplicates:
When to use struct in C#? When should I use a struct instead of a class?
When and why do we use struct in C#? Is it just to save memory allocation?
I would say check out this page... http://www.jaggersoft.com/pubs/StructsVsClasses.htm There are many differences, but in many ways they are the same. I wouldnt say they are cheaper... just a bit different.
精彩评论