Skip to content

Puppy Chau

Things I know I'll forget sooner or later…

  • Home
  • About
  • Tools
  • Twitter
  • LinkedIn

Category: C#

Common C# Primitive Data Types

Type Size (bits) Range
int 32 -231 through 231-1
long 64 -263 through 263-1
float 32 ±1.5 × 1045 through ±3.4 × 1038
double 64 ±5.0 × 10-324 through ±1.7 × 10308
decimal 128 28 significant figures
string 16 bits per character Not applicable
char 16 0 through 216-1
bool 8 true or false
Author HowardPosted on 2011-03-21Categories C#, Programming LanguageLeave a comment on Common C# Primitive Data Types

Recent Posts

  • Manually Install JDK on Linux
  • XDG User Directories
  • lightDM hide user list / disable guest login
  • Showing Seconds in Windows Taskbar Clock
  • Install .NET Core SDK on elementary OS

Recent Comments

  • GNU Emacs error on elementary OS – Puppy Chau on Adding Desktop Entries to System
  • Howard on Reduce Applications Icon Size in GNOME Shell
  • Benoit Chalvignac on Reduce Applications Icon Size in GNOME Shell

Archives

Categories

  • Home
  • About
  • Tools
  • Twitter
  • LinkedIn
Puppy Chau Proudly powered by WordPress
pixel