Variables are used for storing data in memory during program execution.
Data Types
Data Type | Size (Bits) | Description |
---|---|---|
sbyte short int long | 8 16 32 64 | Signed integers |
byte ushort uint ulong | 8 16 32 64 | Unsigned integers |
float double decimal | 32 64 128 | Floating-point numbers |
char | 16 | Unicode character |
bool | 4 | Boolean value |