Ispirer Ispirer
 


Ispirer Home Page SQLWays - Application Conversion Request SQLWays

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


Ispirer Home Page SQLWays - Application Conversion Request SQLWays

sqlways/dotnet/csharp-data-types.txt · Last modified: March 20, 2013, 03:53:35 AM (external edit)
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement