
April 30th, 2008, 08:00 AM
|
|
Utility Bot
|
|
Join Date: Feb 2004
Posts: 822
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Value Types and Reference Types
C# is a language where every variable that you declare must have a type. A type is defined as a set of data and the operations on them. It is used when declaring local variables, classes, interfaces, arrays, structures and so on. When writing applications, you can use the types already provided by C#, like int, long, and System.Environment, or you can create your own (Employee, Book, Invoice). But in either case, the types come in two different flavors: value types and reference types.
Read the full article here: Value Types and Reference Types
For more discussion go here: Blog Article Discussion
|