Datentypen

 

Visual Basic 2010

C# 201

Ganzzahl

1 Byte

Byte

byte

Ganzzahl

Boolean

Boolean

bool

Ganzzahl

2 Bytes

Short

short

Ganzzahl

4 Bytes

Integer

int

Ganzzahl

8 Bytes

Long

long

Zahl

4 Bytes

Single

float

Zahl

8 Bytes

Double

double

Zahl

12 Bytes

Decimal

decimal

Zeichen

1 Byte oder 2 Bytes

Char

char

Zeichenkette

String

string

Datum/Uhrzeit

Date

DateTime

Dynamischer Typ

Object

dynamic

Get Microsoft .NET 4.0 - Crashkurs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.