0

What is different between ToInt32 and ToInt 16 and ToInt 64

please explain for me

4th Jan 2017, 1:50 PM
Mahziar
Mahziar - avatar
1 Antwort
+ 5
Int16 uses 16 Bit for saving your Integer value which means you can Min and Max values of: 32768 to 32767 The same for Int32 and Int64: Int32: –2147483648 to 2147483647 Int64: -9223372036854775808 to 9223372036854775807 If you want to read more about this, all the limits are listed here: https://msdn.microsoft.com/en-us/library/296az74e.aspx
4th Jan 2017, 1:54 PM
Jonas Fallmann
Jonas Fallmann - avatar