Thumb

Data Types

1/7/2020 12:00:00 AM

There are the following data types in C#

  • Value types 
    These are the built-in primitive data types, such as char, int, and float, as well as user-defined types declared with struct.
  • Reference types
    Classes and other complex data types that are constructed from the primitive types. Variables of such types do not contain an instance of the type, but merely a reference to an instance