0

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?

Community
  • 1
  • 1
user544079
  • 15,221
  • 39
  • 109
  • 166

1 Answers1

0

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.

CrazyDart
  • 3,803
  • 2
  • 21
  • 29