• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

C++ Equivalent to C# Types

Only C# 'core' types are listed here (types that exist in C# syntax).

C# C++
int
bool
string
char
float
double
object
decimal
short
long
byte (unsigned byte)
sbyte (signed byte)
ushort (unsigned short)
uint (unsigned int)
ulong (unsigned long)
int
bool
std::wstring (no C++ language type)
wchar_t
float
double
std::any (C++17) or void * (no C++ language type)
No C++ language or standard library equivalent
short
long long
unsigned char
char
unsigned short
unsigned int
unsigned long long


Use C# to C++ Converter to convert from C# to C++.     

Additional resource: C++ and C# Equivalents


Copyright © 2004 – 2019 Tangible Software Solutions, Inc.