2008/10/16 01:50
2008/10/16 01:50 in
Computer Science/C#
| C# Type |
Size in Bits |
System Type |
CLS-Compliant |
| sbyte |
8 |
System.SByte |
No |
| short |
16 |
System.Int16 |
Yes |
| int |
32 |
System.Int32 |
Yes |
| long |
64 |
System.Int64 |
Yes |
| byte |
8 |
System.Byte |
Yes |
| ushort |
16 |
System.Uint16 |
No |
| uint |
32 |
System.Uint32 |
No |
| ulong |
64 |
System.Uint64 |
No |
| char |
16 |
System.Char |
Yes |
| bool |
8 |
System.Boolean |
Yes |
| float |
32 |
System.Single |
Yes |
| double |
64 |
System.Double |
Yes |
| decimal |
128 |
System.Decimal |
Yes |
| string |
N/A |
System.String |
Yes |
| object |
N/A |
System.Object |
Yes |
Posted by Clyde
Trackback : http://blog.ljw97.com/trackback/28