At first blush, you may think there isn't much difference between structures and classes. Recall, however, that structures are value types and classes are reference types. As a result, structures often use less memory than classes. Each time a value type like a structure is passed around in a program, a copy of the structure is made. So, what starts out using less memory could end up consuming quite a bit. For this reason, you'll often find that classes are used more than structures. Even though classes are initially more expensive to create because there is both memory allocation and startup code to execute, their memory usage is often more economical throughout their lifetime.
Structures and Classes
Share this highlighthttp://www.safaribooksonline.com/a/visual-studio-2010/2611/