All C# types fall into the following categories:
- Value types
- Reference types
- Generic type parameters
- Pointer types
Value types comprise most built-in types (specifically, all numeric types, the char type, and the bool type) as well as custom struct and enum types.
Reference types comprise all class, array, delegate, and interface types. (This includes the predefined string type.) The fundamental difference between value types and reference types is how they are handled in memory.
View original post 338 more words