mursaleen fayyaz

mursaleen fayyaz

  • NA
  • 84
  • 125.6k

Predefined Value Types and Reference Types ?

May 30 2013 2:32 PM
Integer Types

sbyte               System.SByte
short                System.Int16
int                   System.Int32
long                 System.Int64
byte                System.Byte
ushort              System.UInt16
uint                  System.UInt32
ulong                System.UInt64

Floating Point Types

float                 System.Single
double              System.Double

The Decimal Type

decimal              System.Decimal

Boolean Type

bool                  System.Boolean

Character Type

cahr System.Char

Reference Types

object                System.Object
string                 System.String


Note : System.Object is the root type. All other types in the CTS are derived (including value types) from object.

Answers (4)