Compartilhar via


Value Types Table (C# Reference) 

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

Value type Category

bool

Boolean

byte

Unsigned, numeric, integral

char

Unsigned, numeric, integral

decimal

Numeric, decimal

double

Numeric, floating-point

enum

Enumeration

float

Numeric, floating-point

int

Signed, numeric, integral

long

Signed, numeric, integral

sbyte

Signed, numeric, integral

short

Signed, numeric, integral

struct

User-defined structure

uint

Unsigned, numeric, integral

ulong

Unsigned, numeric, integral

ushort

Unsigned, numeric, integral

See Also

Reference

Value Types (C# Reference)

Concepts

C# Programming Guide

Other Resources

C# Reference
Formatting Numeric Results Table (C# Reference)
Types Reference Tables (C# Reference)