In C#, what is the difference between int and int32?

Data types int, int32 and int64 are supported in C#. Why there are so many variants, when to use each and what is the difference? For detailed explanation visit the following reference http://blog.risingperfection.com/2011/04/c-difference-between-int-and-int32.html

50 Views|Posted 2012-06-06 08:02:04
Asked by Arun
1 Answer
Neeraj Kumar
2012-06-06 08:36:27
The only real difference here is the size. All of the int types here are signed integer values which have varying sizes Int16: 2 bytes Int32 and int: 4 bytes Int64 : 8 bytes There is one small difference between Int64 and the rest. On a 32 bit platform assignments to an Int64 storage l

...Read more

Thumbs Up IconUpvote Thumbs Down Icon

Taking an Exam? Selecting a College?

Get authentic answers from experts, students and alumni that you won't find anywhere else.

On Shiksha, get access to

66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.8M
Answers

Share Your College Life Experience

Didn't find the answer you were looking for?

Search from Shiksha's 1 lakh+ Topics

or

Ask Current Students, Alumni & our Experts

Have a question related to your career & education?

or

See what others like you are asking & answering