Name
UInt64
Synopsis
This structure is the value type
for 64-bit unsigned integers (which
range from 0 to 1.84x1020). It is not
CLS-compliant (although Int64
is). This structure
is also available in C# through the ulong
alias.
public struct UInt64 : IComparable, IFormattable, IConvertible { // Public Static Fields public const ulong MaxValue; // =18446744073709551615 public const ulong MinValue; // =0 // Public Static Methods public static ulong Parse(strings
); public static ulong Parse(strings
, IFormatProviderprovider
); public static ulong Parse(strings
, System.Globalization.NumberStylesstyle
); public static ulong Parse(strings
, System.Globalization.NumberStylesstyle
, IFormatProviderprovider
); // Public Instance Methods public int CompareTo(objectvalue
); // implements IComparable public override bool Equals(objectobj
); // overrides ValueType public override int GetHashCode( ); // overrides ValueType public TypeCode GetTypeCode( ); // implements IConvertible public override string ToString( ); // overrides ValueType public string ToString(IFormatProviderprovider
); // implements IConvertible public string ToString(stringformat
); public string ToString(stringformat
, IFormatProviderprovider
) // implements IFormattable }
Hierarchy
Object
→
ValueType
→
UInt64(IComparable, IFormattable
, IConvertible)
Returned By
BitConverter.ToUInt64( )
,
Convert.ToUInt64( )
, Decimal.ToUInt64( )
, IConvertible.ToUInt64( )
,
System.IO.BinaryReader.ReadUInt64( )
,
System.IO.IsolatedStorage.IsolatedStorage.{CurrentSize ...
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.