Folks, I'm just copying some old C code (no joking!) from 15 years ago over
to C# and for the life of me I've forgotten how to convert the integer
types. Am I right in this guess?

 

C int = C# short (Int16)

C long = C# int (Int32)

 

I created a C++ project from the VS2010 wizard and pasted the C code in. It
compiles and runs, but perhaps the environment and default integer widths
have changed.

 

Greg

Reply via email to