- Values Types
- Reference Types
Value Types
These are simple data types that directly contain their data, for example:
- Integers
- Floats
- Enums
- Structs
Reference Types
These types store references to objects. Reference type variables have the ability to refer to the same data, so two variables can point to same object and the object be manipulated by performing operations of both variables. Examples include:
- Classes
- Interfaces
- Delegates
- Arrays
0 comments:
Post a Comment