int is the alias name for int32 in C#
Difference between int and Int32:int is an alias name for Int32. it is short cut to right System.Int32 in c#. both can be used in your program.
Int16: 2 bytes Int32 and int: 4 bytes Int64 : 8 bytes
int is a primitive type allowed by the C# compiler, whereas Int32 is the Framework Class Library type (available across languages that abide by CLS). in c# we write int and in vb.net we write integer
int32 allows null values where as int doesnt allow null values
int is 64bit and int32 is 32bit
int is a primitive data type in c# .net language System.Int32 refers the base class of int in c# .net This System.Int32 is base type for all the .net languages such as integer in vb.net and also other all the .net languages to find out the base type of a data type we use typeof constant as like below Console.WriteLine(typeof(int)) typeof is a constant which will return the base type of the given data type
For the Declaration Purpose we used int like int i = 1; but for the conversion purpose we have to use Convert.Int32(); Function because int32 is CTS function.
"int" is a data type keyword defined by the language, C#. Int32 is a data type defined by the .NET Common Type System (CTS).
System is a base class for int32.int i=10;from the above instead of "int" i can write "system.int32" where system is a pre defined class.