The only real difference here is the size. All of the int types here are signed integer values which have varying sizes
Int16: 2 bytes
Int32 and int: 4 bytes
Int64 : 8 bytes
There is one small difference between Int64 and the rest. On a 32 bit platform assignments to an Int64 storage location are not guaranteed to be atomic. It is guaranteed for all of the other types.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The only real difference here is the size. All of the int types here are signed integer values which have varying sizes
Int16: 2 bytesInt32andint: 4 bytesInt64: 8 bytesThere is one small difference between
Int64and the rest. On a 32 bit platform assignments to anInt64storage location are not guaranteed to be atomic. It is guaranteed for all of the other types.