Data types

  • Data Types are classified in to two types .
  • Value Types
  • Reference types

  • Value Types

  • The Data Type which store data directly in memory is known as Value Types .
  • Reference Type

    The Data type which don’t store data directly in memory Location rather than refers to another memory locations is called as reference types.

    What is the Difference between Value Types and Reference Types

    1; It store the value directly in memory; It don’t store value directly in memory.;
    2; Memory allocation becomes at run time ; Run time;
    3; CLR does not provide Automatic memory management; CLR provides Automatic Memory Management;