what is the difference between int and Int32?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Answer / srinivas.r
int is a value datatype.
Whereas INT32 is a wrapper class.
| Is This Answer Correct ? | 4 Yes | 14 No |
What is the role of the datareader class in ado.net connections?
syntax for writing private method in a interface
Can int be null in c#?
what is the diference between casting and converting?
What do you mean by directing?
Explain About sn.exe
What are the three types of predicates?
which datatype i have to use we i need dynamic size.for eg. empname .in first row it have only five chars.but next row it have 100 chars.
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
Define c# i/o classes?
What is the advantage of generics in c#?
What exactly happens when we debug and build the program?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)