August 2003
Intermediate to advanced
928 pages
32h 1m
English
UInt64
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 }
Object
→
ValueType
→
UInt64(IComparable, IFormattable, IConvertible)
BitConverter.ToUInt64( ),
Convert.ToUInt64( ), Decimal.ToUInt64( ), IConvertible.ToUInt64( ),
System.IO.BinaryReader.ReadUInt64( ),
System.IO.IsolatedStorage.IsolatedStorage.{CurrentSize ...