What is the biggest difference between classes and structures


Classes are reference types whereas structures are value types.

 

Source: C# 5.0 Programmer’s Reference


Leave a Reply

Your email address will not be published. Required fields are marked *