Sunday, November 14, 2010

Lesson 26 - Data Types

C# is a strongly typed language; therefore every variable and object must have a declared type.

A data type can be described as being either:

A built-in data type, such as an int or char, or

A user-defined data type, such as a class or interface.

Data types can also be defined as being either:

Value Types (C# Reference), which store values, or

Reference Types (C# Reference), which store references to the actual data.

No comments:

Post a Comment