Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Value Types Table (C# Reference)

The following table lists the C# value types by category.

Value type

Category

Type Suffix

bool

Boolean

byte

Unsigned, numeric, integral

char

Unsigned, numeric, integral

decimal

Numeric, decimal

M or m

double

Numeric, floating-point

D or d

enum

Enumeration

float

Numeric, floating-point

F or f

int

Signed, numeric, integral

long

Signed, numeric, integral

L or l

sbyte

Signed, numeric, integral

short

Signed, numeric, integral

struct

User-defined structure

uint

Unsigned, numeric, integral

U or u

ulong

Unsigned, numeric, integral

UL or ul

ushort

Unsigned, numeric, integral

Community Additions

ADD
Show:
© 2015 Microsoft