What is "long?"


i saw in code:

long?
question mark mean long?

the ? means can contain null - nullable version of long.

long? mylong;

can set null.

long mylong;

can't.

from

http://msdn.microsoft.com/en-us/library/ctetwysk.aspx

long signed 64 bit integer can take pretty big numbers:

the long keyword denotes integral type stores values according size , range shown in following table.

type

range

size

.net framework type

long                                       

–9,223,372,036,854,775,808 9,223,372,036,854,775,807

signed 64-bit integer

system.int64                    



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user