Type | Represent | Range |
---|---|---|
bool | Boolean value | True or False |
byte | 8-bit unsigned integer | 0 to 255 |
char | 16-bit Unicode character | U +0000 to U +ffff |
decimal | 128-bit precision decimal values | (-7.9 x 1028 to 7.9 x 1028)/100 to 28 |
double | 64-bit double-precision floating point type | (+/-)5.0 x 10-324 to (+/-)1.7 x 10308 |
float | 32-bit single-precision floating point type | -3.4 x 1038 to + 3.4 x 1038 |
Int | 32-bit signed integer type | -2,147,483,648 to 2,147,483,647 |
long | 64-bit signed integer type | -923,372,036,854,775,808 to 9,223,372,036,854,775,807 |
sbyte | 8-bit signed integer type | -128 to 127 |
short | 16-bit signed integer type | -32,768 to 32,767 |
uint | 32-bit unsigned integer type | 0 to 4,294,967,295 |
ulong | 64-bit unsigned integer type | 0 to 18,446,744,073,709,551,615 |
ushort | 16-bit unsigned integer type | 0 to 65,535 |
sbyte, short, int, long
byte, ushort, uint, ulong
char
float, double
decimal
bool
enum E {...}
struct S {...}
null
valueobject
string
C {...}
I {...}
int[]
and int[,]
delegate int D(...)
Note : Here we mix/shuffle all Reserved Keywords with 2 colors , cause if all options is belong some color then we think some time reader confused which one he read or which one not (mistake) so, here we use 2 type colors.
An identifier is a name used to identify a class, variable, function, or any other user-defined item. The basic rules for naming classes in C# are as follows:
Currently we improved our website User Interface and other contents. Our next update is adding video tutorials on this site so, We create a new YouTube channel, our YouTube channel name is CodeX.
We need some time for make video tutorials (CodeX) so, stay with us and keep supporting and you know already we make a Collaboration with HackIsOn YouTube channel long time ago So, please Subscribe Our Channels