Do I need to convert int32 to int in VS2008 C ++ CLI?
How it's done?
Just use broadcast:
int32 a = ...; int b = (int) a;
Note that in principle this can lead to problems if you are running on a platform with int less than 32 bits, but it is unlikely if it is a Windows program.
int
The C ++ / CLI keyword int is an alias for System.Int32 . No conversion or casting required.
System.Int32
int value = (int) int32value;