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(string s);
   public static ulong Parse(string s,
        IFormatProvider provider);
   public static ulong Parse(string s, System.Globalization.NumberStyles style);
   public static ulong Parse(string s, System.Globalization.NumberStyles style, 
        IFormatProvider provider);
// Public Instance Methods
   public int CompareTo(object value);  
// implements IComparable
   public override bool Equals(object obj);          
// overrides ValueType
   public override int GetHashCode( );    
// overrides ValueType
   public TypeCode GetTypeCode( );        
// implements IConvertible
   public override string ToString( );    
// overrides ValueType
   public string ToString(IFormatProvider provider); 
// implements IConvertible
   public string ToString(string format);
   public string ToString(string format, IFormatProvider provider)
// 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.