Classes and Structs in C#
Posted by: ASPAlliance.com - The #1 ASP.NET Community,
on 22 Sep 2011 |
View original | Bookmarked: 0 time(s)
There are two main concrete ways of encapsulating data and behavior in the common type system of the .NET Framework: classes and structs. Each one offers benefits over the other, and in this article I am going to briefly introduce these two concepts and discuss how to use each and when to use each based on their differences....