***************************************************************************************
Meaning in Life=
***************************************************************************************
C#Shorthand= bool
System Type=System.Boolean
Meaning in Life=Represents truth or falsity
C#Shorthand=sbyte
System Type=System.SByte
Meaning in Life=Signed 8-bit number
C#Shorthand=byte
System Type=System.Byte
Meaning in Life=Unsigned 8-bit number
C#Shorthand=short
System Type=System.Int16
Meaning in Life=Signed 16-bit number
C#Shorthand=ushort
System Type=System.UInt16
Meaning in Life=Unsigned 16-bit number
C#Shorthand=int
System Type=System.Int32
Meaning in Life=Signed 32-bit number
C#Shorthand=uint
System Type=System.UInt32
Meaning in Life=Unsigned 32-bit number
C#Shorthand=long
System Type=System.Int64
Meaning in Life=Signed 64-bit number
C#Shorthand=ulong
System Type=System.UInt64
Meaning in Life=Unsigned 64-bit number
C#Shorthand=char
System Type=System.Char
Meaning in Life=Single 16-bit Unicode character
C#Shorthand=float
System Type=System.Single
Meaning in Life=32-bit floating-point number
C#Shorthand=double
System Type=System.Double
Meaning in Life=64-bit floating-point number
C#Shorthand=decimal
System Type=System.Decimal
Meaning in Life=96-bit signed number
C#Shorthand=string
System Type=System.String
Meaning in Life=Represents a set of Unicode characters
C#Shorthand=object
System Type=System.Object
Meaning in Life=The base class of all types in the .NET universe
***************************************************************************************
NOTE:
- Each of the numerical types (short, int, and so forth) map to a corresponding structure in the System namespace.
- In a nutshell, structures are "value types" allocated on the stack.
- On the other hand, string and object are "reference types," meaning the variable is allocated on the managed heap.
- Simply understand that value types can be allocated into memory very quickly and have a very fixed and predictable lifetime.
No comments:
Post a Comment