Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UInt64.MaxValue Field

Represents the largest possible value of UInt64. This field is constant.

The UInt64 type is not CLS-compliant. The CLS-compliant alternative type is Decimal. Int64 can be used when the original value is less than half of UInt64.MaxValue. For more information about CLS compliance, see What is the Common Language Specification.

[C#]
public const ulong MaxValue;
[C++]
public: const unsigned __int64 MaxValue;
[JScript]
public var MaxValue : UInt64;

[Visual Basic] Visual Basic does not support constant fields of type UInt64.

Remarks [C#, C++, JScript]

The value of this constant is 18,446,744,073,709,551,615; that is, hexadecimal 0xFFFFFFFFFFFFFFFF.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

UInt64 Structure | UInt64 Members | System Namespace | MinValue

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.