Difference between revisions of "C Sharp Data Types"
esse quam videri
Line 26: | Line 26: | ||
[[ulong|Ulong]] 0 .. 18,446,744,073,709,551,615 | [[ulong|Ulong]] 0 .. 18,446,744,073,709,551,615 | ||
− | [[float | + | [[Floating Point Number|float]] -3.402823e38 .. 3.402823e38 |
[[double|Double]] -1.79769313486232e308 .. 1.79769313486232e308 | [[double|Double]] -1.79769313486232e308 .. 1.79769313486232e308 | ||
Line 36: | Line 36: | ||
[[string|String]] A string of Unicode characters | [[string|String]] A string of Unicode characters | ||
− | [[bool | + | [[Boolean|bool]] True or False |
[[object|Object]] An object | [[object|Object]] An object |
Revision as of 00:24, 8 June 2019
Contents
Definition
Relevance
Explanation
C# Built-In Data Types
Type Range
Byte 0 .. 255
Sbyte -128 .. 127
Short -32,768 .. 32,767
Ushort 0 .. 65,535
Int -2,147,483,648 .. 2,147,483,647
Uint 0 .. 4,294,967,295
Long -9,223,372,036,854,775,808 .. 9,223,372,036,854,775,807
Ulong 0 .. 18,446,744,073,709,551,615
float -3.402823e38 .. 3.402823e38
Double -1.79769313486232e308 .. 1.79769313486232e308
Decimal -79228162514264337593543950335 .. 79228162514264337593543950335
Char A Unicode character
String A string of Unicode characters
bool True or False
Object An object