C# Int64 MaxValue

Description

Int64 MaxValue represents the largest possible value of an Int64. This field is constant.

Syntax

Int64.MaxValue has the following syntax.


public const long MaxValue

Example

The following code example demonstrates the Int64.MaxValue.


using System;//from   ww w. ja va  2  s .  c  om

class Sample 
{
    public static void Main() 
    {
        
        Console.WriteLine(Int64.MaxValue);
    }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version