OverView:
In this article i would like to publish about an Data Types Summary For C#.Net.
Description:
C#.Net is a most powerful progmming language.It combines the features of C+VisualBasic6.0+Java.
C# = C+VisualBasic6.0+Java
C#.Net is a strongly typed programming language so every thing should be declared with any of the datatype.
The Following tables gives an information about the visual basics data types including with common language run time type structure,storage allocation,value range.
In this Data Types can be categroized in C#.Net.
In this article i would like to publish about an Data Types Summary For C#.Net.
Description:
C#.Net is a most powerful progmming language.It combines the features of C+VisualBasic6.0+Java.
C# = C+VisualBasic6.0+Java
C#.Net is a strongly typed programming language so every thing should be declared with any of the datatype.
The Following tables gives an information about the visual basics data types including with common language run time type structure,storage allocation,value range.
DataType | Common Language Runtime Structure | StorageAllocation | Value Range | ||
Boolean | System.Boolean | 2 bytes | True or False. | ||
Byte | System.Byte | 1 byte | 0 through 255 (unsigned). | ||
Char | System.Char | 2 bytes |
|
||
Date | System.DateTime | 8 bytes |
|
||
Decimal | System.Decimal | 16 bytes |
|
||
Double (double-precision floating-point) |
System.Double | 8 bytes | -1.79769313486231570E+308 through -4.94065645841246544E-324 for negative values; 4.94065645841246544E-324 through 1.79769313486231570E+308 for positive values. |
||
Integer | System.Int32 | 4 bytes |
|
||
Long (long integer) |
System.Int64 | 8 bytes | -9,223,372,036,854,775,808 through 9,223,372,036,854,775,807. | ||
Object | System.Object (class) | 4 bytes | Any type can be stored in a variable of type Object. | ||
Short | System.Int16 | 2 bytes |
|
||
|
System.Single | 4 bytes |
|
||
String (variable-length) |
System.String (class) | Depends on implementing platform |
|
User-Defined Type (structure) |
|
Depends on implementing platform |
|
No comments:
Post a Comment