C# Data types
C# Primitive Data types : Any data types directly supported by the compiler are called primitive types. Primitive types map directly to types that exist in the base class library. These basic data types are used across programming language compilers regardless of managed code or unmanaged code, since it is essential to meet needs of storing the basic data(Numeric, character, Bool) in application development. Let us see Primitive Data types of C# : The CLR supports two different types Value Type Reference Type Value Type : The variable representing the instance doesn’t contain a pointer to an instance; the variable contains the fields of the instance itself. Value type instances are usually allocated on a thread’s stack Value types are derived from System.ValueType 1. Value types holds the value itself and values are allocated in stack. 2. Being represented in two forms (boxing & ...