Click here to Skip to main content
15,883,796 members
Articles / Programming Languages / C#

Using struct and class - what's that all about?

Rate me:
Please Sign up or sign in to vote.
4.94/5 (139 votes)
23 Feb 2014CPOL11 min read 141.1K   117  
What is the difference between a struct and a class? And which should I use?

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

Comments and Discussions