10
Reply

What is the difference between int and int32?

Deepak  Kamboj

Deepak Kamboj

Jul 01, 2013
15.6k
1

    int is the alias name for int32 in C#

    Poornima
    August 06, 2013
    3

    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

    Sagar Naikele
    September 21, 2016
    1

    int32 allows null values where as int doesnt allow null values

    Suresh Babu Maddela
    August 22, 2016
    1

    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.

    Deeksha Pandit
    June 17, 2016
    1

    Int16: 2 bytes Int32 and int: 4 bytes Int64 : 8 bytes

    Bharathi Raja
    January 20, 2018
    0

    int is 64bit and int32 is 32bit

    Sunil Babu
    April 03, 2016
    0

    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

    Srinivas Pabballa
    August 28, 2015
    0

    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.

    Pramod Lawate
    August 26, 2013
    0

    "int" is a data type keyword defined by the language, C#. Int32 is a data type defined by the .NET Common Type System (CTS).

    Sonali Chougule
    August 19, 2013
    0

    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.

    Srikanth Reddy
    July 09, 2013
    0