CSharp - Value Types Versus Reference Types

Introduction

All C# types fall into the following categories:

  • Value types
  • Reference types
  • Generic type parameters
  • Pointer types

Value types are:

  • all numeric types
  • char type
  • bool types
  • struct types
  • enum types.

Reference types are all class, array, delegate, interface types and string type.

Related Topics