Mayfield Global Knowledge Center



What are some of the core .NET data types?


Data Type
Description  Value Range
System.Boolean Stores true/false
True or False
System.Byte Single byte
0 to 255 (unsigned)
System.Char
A single 2-byte Unicode character
0 to 65535 (unsigned)
System.Decimal
Decimal value (precision of 28-29 significant digits)
No decimal (+/-79,228,162,514,264,337,593,543,950,335).
28 places to the right of the decimal (+/-7.9228162514264337593543950335)
Smallest non-zero number (+/-0.0000000000000000000000000001)
System.Double
Double-precision value (precision to 15-16 numbers)
Negative values (-1.79769313486231E308 to -4.94065645841247E-324)
Positive values (4.94065645841247E-324 to 1.79769313486232E308)
System.Int16
A signed 16-bit integer -32768 to 32767
System.Int32
A 32-bit signed integer
–2,147,483,648 to 2,147,483,647
System.Int64 A 64-bit signed integer
9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
System.Single Single-precision value (32-bit floating point number) -3.402823e38 to 3.402823e38
System.String Character string that can contain Unicode characters 0 to approximately two billion Unicode characters

Would you like to...


del.icio.us

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favoritesAdd to favorites

User Opinions (0 votes)

No users have voted.

How would you rate this answer?

Helpful
Not helpful
Thank you for rating this answer.