• Saves Valuable Time
  • Trusted Accuracy for 12 Years
  • 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::string/std::wstring (no C++ 'fundamental' type)
wchar_t
float
double
void * (no C++ 'fundamental' type)
no 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 © 1997 – 2017 Tangible Software Solutions Inc.