what is the difference between int and Int32?

Answers were Sorted based on User's Feedback



what is the difference between int and Int32?..

Answer / vijay

Basically int is the short form of Int32.

The important difference is

"int" is a C# language keyword that implies nothing about
the underlying structure of the data where as "Int32" is a
CLR class named explicitly to indicate a 32-bit structure.

Is This Answer Correct ?    43 Yes 10 No

what is the difference between int and Int32?..

Answer / srini

Data type Int32 is defined by Common Type System
(System.Int32). The data type 'int' is 32 bit integer in
C#. So the 'int' type is equal to 'Int32'. The c#
type 'int' is alias name of System.Int32.

Is This Answer Correct ?    35 Yes 10 No

what is the difference between int and Int32?..

Answer / afazal

There are the below differences between int and int32
1. It is good practice in the programming that code should
be more readable, when you will use int32 it is explicitly
specifying that it is a 32 bit integer, even int is also 32
bit integer.
2. int is a C# keyword but int32 is belong to CTS, int32 is
a structure of System namespace (System.int32)

View my profile by below link
http://afazal.blogspot.com/2007/12/afazal-profile.html

Is This Answer Correct ?    9 Yes 2 No

what is the difference between int and Int32?..

Answer / nihar

Int32 is the System.Int32 class, while int is an alias for
System.Int32.
The same applies for String (uppercase S) which is
System.String, while string (lowercase S) is an alias for
System.String.
So basically int is the same thing as Int32, and string is
the same thing as Int32

Is This Answer Correct ?    7 Yes 2 No

what is the difference between int and Int32?..

Answer / srinivas.r

int is a value datatype.
Whereas INT32 is a wrapper class.

Is This Answer Correct ?    4 Yes 14 No

Post New Answer

More C Sharp Interview Questions

How long will it take to learn c#?

0 Answers  


How many kinds of elements an array can have?

0 Answers  


Explain publishers and subscribers in events.

0 Answers  


Explain the 3 types of properties in c# with an example?

0 Answers  


What is typeof c#?

0 Answers  






What is parameters in c#?

0 Answers  


Explain the process of Serialization?

0 Answers  


Explain the difference between a sub and a function?

1 Answers   Wipro,


What is use of a HashTable in .NET?

0 Answers   Arigo Infotech,


Hai, I want to open a new form while the previous form is hiding or closing. I tried this with using MDI.I created one form like ParentForm.placed one button control.when clicked one that it opend new form like ChildForm.When i set the property of ChildForm to Maximize,but the ParentForm button control also appearing on the childform. so plz help me how to hide parentform controls(hide parentform while it is childform opened) thanq..

1 Answers  


What's the difference between abstraction and encapsulation?

0 Answers  


What is datatable and dataset in c#?

0 Answers  


Categories