C#
|
CLS Compliant
|
System Type
|
Range
|
Definition
|
bool
|
Y
|
System.Boolean
|
T or F
|
True or False
|
sbyte
|
N
|
Syste.Sbyte
|
-128 to 127
|
Signed 8 bit number
|
byte
|
Y
|
System.Byte
|
0 to 255
|
Unsigned 8 bit number
|
short
|
Y
|
System.Int16
|
-32768 to 32767
|
Signed 16 bit number
|
ushort
|
N
|
System.Uint16
|
0 to 65535
|
Unsigned 16 bit number
|
int
|
Y
|
System.Int32
|
-2147483648 to 2147483647
|
Signed 32 bit number
|
uint
|
N
|
System.Uint32
|
0 to 4294967295
|
Unsigned 32 bit number
|
long
|
Y
|
System.Int64
|
-9223372036854775808 to 9223372036854775807
|
Signed 64 bit number
|
ulong
|
N
|
System.Uint64
|
0 to 18446744073709551615
|
Unsigned 64 bit number
|
char
|
Y
|
System.Char
|
U+0000 to U+ffff
|
Single 16 bit Unicode character
|
float
|
Y
|
System.Single
|
-3.4 1038 to +3.4 1038
|
32 bit floating point number
|
double
|
Y
|
System.Double
|
+-5.0 10-324 to +-1.7 10-308
|
64 bit floating point number
|
decimal
|
Y
|
System.Decimal
|
(-7.9x 1028 to -7.9x 1028)/(100
to 28)
|
128 bit signed number
|
string
|
Y
|
System.String
|
Limited
|
Set of unicode characters
|
object
|
Y
|
System.Object
|
No limit
|
Base class
|
About .NET , C#, ASP.NET , SharePoint , Umbraco , SQL Server , Business Intelligence and more...
Saturday, May 3, 2014
Intrinsic Data Types of C#
Subscribe to:
Post Comments (Atom)
Installing ASP.NET MVC
Installing ASP.NET MVC Before we dive deep into the ASP.NET MVC, let’s install it our development machine. This is very straight forwa...
-
Here lets discuss about the various Parameter modifiers that can be used to manage how arguments are passed to methods. Default by Value...
-
When you begin developing Windows Phone applications, you need to choose a framework one from Silverlight or XNA framework. Let’s list down ...
-
Visual Studio Test Professional 2010 is an integrated testing toolset from Microsoft which provides a complete plan-test-track workflow for ...
No comments:
Post a Comment