C Sharp data types
From Just Solve the File Format Problem
Revision as of 13:14, 2 July 2019 by Dan Tobias (Talk | contribs)
The C# or .Net framework data types are a set of types used in the C# language, which have two names each: one is the name used in C# (similar to names of C data types, though not always identical in their definition) and one beginning with System. which is the .Net framework name for the type as part of its System module.
| C# name | .Net name |
|---|---|
| bool | System.Boolean |
| byte | System.Byte |
| sbyte | System.SByte |
| char | System.Char |
| decimal | System.Decimal |
| double | System.Double |
| float | System.Single |
| int | System.Int32 |
| uint | System.UInt32 |
| long | System.Int64 |
| ulong | System.UInt64 |
| object | System.Object |
| short | System.Int16 |
| ushort | System.UInt16 |
| string | System.String |