Ispirer Website Ispirer Capabilities - .Net Conversion Free Trial

C# Data Types

Overview

Data Type Parameters and Range
Character Data Types
char - Fixed-length character data U+0000 to U+ffff
string - Variable-length character data No limit
Integer Data Types
long - 64-bit integer data –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
int - 32-bit integer data -2,147,483,648 to 2,147,483,647
short - 16-bit integer data -32,768 to 32,767
Fixed-Point Numeric Data Types
decimal - Fixed-pont numeric data ±1.0*10-28 to ±7.9*1028
Floating-Point Numeric Data Types
double - 64-bit floating-point numeric data ±5.0*10-324 to ±1.7*10308
float - 32-bit floating-point numeric data ±1.5*10-45 to ±3.4*1038
Date and Time Data Types
DateTime - Date and time data type January 1, 1753 through December 31, 9999
Other Data Types
bool - Boolean data true/false
byte - Binary data type 0 to 255
Guid - Global unique identifier No limit
object - Unified data type

© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.