What is The Difference between Int16,Int32,Int64?????

Posted by Sabarimahesh under C# on 3/28/2012 | Points: 10 | Views : 39302 | Status : [Member] | Replies : 8
What is The Difference between Int16,Int32,Int64?????

Very major Difference Guys::::)))))

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M



Responses

Posted by: Pramodthakur on: 3/28/2012 [Member] Starter | Points: 25

Up
0
Down
Int16: 2 bytes
Int32 and int: 4 bytes
Int64 : 8 bytes

Type Capacity
Int 16 -- (-32768 to +32787)
Int 32 -- (-2,147,483684 to +2,147,483683)
Int 64 -- (-9223372036854775808 to +9223372036854775807)

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/28/2012 [Member] Bronze | Points: 25

Up
0
Down
Pramodthakur

You Mean that

Int16 is ShortInt
Int32 is Int
Int64 is LongInt

Right

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/28/2012 [Member] Silver | Points: 25

Up
0
Down
Hi,
int16 takes 16 bits
int32 takes 32 bits
int64 takes 64 bits



Thanks,
Sanjay

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/29/2012 [Member] Bronze | Points: 25

Up
0
Down
Sksamantaray

You Mean that

Int16 is ShortInt
Int32 is Int
Int64 is LongInt


Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 6/13/2012 [Member] Bronze | Points: 25
Posted by: CGN007 on: 6/13/2012 [Member] Silver | Points: 25

Up
0
Down
Int16
16-bit signed integer


Int32
32-bit signed integer


Int64
64-bit signed integer

Min/Max Value
Int 16 -32,768 / 32,767
Int 32 -2,147,483,648 / 2,147,483,647
Int 64 -9,223,372,036,854,775,808 / 9,223,372,036,854,775,807


Please refer this http://forums.asp.net/p/964723/3019250.aspx

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 6/14/2012 [Member] Bronze | Points: 25

Up
0
Down
CGN007

I got the answer

Thanks For Posting

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/14/2012 [Member] Silver | Points: 25

Up
0
Down
Ok..So please mark it as answer.

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response