- Hands-On Object:Oriented Programming with C#
- Raihan Taher
- 63字
- 2021-07-02 12:44:34
Data types
The basic data types of C# are divided into the following categories:
- Boolean type: bool
- Character type: char
- Integer types: sbyte, byte, short, ushort, int, uint, long, and ulong
- Floating-point types: float and double
- Decimal precision: decimal
- String: string
- Object type: object
These are primitive data types. These data types are embedded in the C# programming language.