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

See Also

Reference

Value Types (C# Reference)

Concepts

C# Programming Guide

Other Resources

C# Reference

Default Values Table (C# Reference)

Formatting Numeric Results Table (C# Reference)

Reference Tables for Types (C# Reference)