what is the difference between int and Int32?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session management in c#?

520


How to reverse each word in a string using c#?

554


What is a byte in c#?

545


Can we declare class as protected?

528


Can you store different types in an array in c#?

467






Can we store different data types in arraylist in c#?

457


What is a long in c#?

446


What are sessions in c#?

484


What's the difference between a method and a procedure?

473


what is inheritance and an example in vb.net and c# of when you might use it?

520


Does hashset allow duplicates c#?

506


Why dataset is used in c#?

503


Differentiate between object pooling and connection pooling in c#?

530


What is the difference between struct and class in c#?

467


What is an Interface in C#?

534