CTS is devided in to two categories:
- Values type
- Reference type
Value type:
- The data types which store the data directly in to the memory locations is known as value types.
- Memory is allocated at Compilation Time.
- Memory allocation is Made with in the Stack i.e in contiguous memory locations
- CLR does not provide automatic memory management.
- The data type which do not store the data into there memory locations rather refers to other memory locations is known as reference types.
- Memory is allocated at Run Time.
- Memory allocation made with in the heap i.e Random Memory Locations.
- CLR provides Automatic memory management.
No comments:
Post a Comment