August 2003
Intermediate to advanced
928 pages
32h 1m
English
Int64
This is the value type for
64-bit integers (which can range,
approximately, from -9.22x1018 to
9.22x1018). This is also available in C#
through the long alias.
public struct Int64 : IComparable, IFormattable, IConvertible { // Public Static Fields public const long MaxValue; // =9223372036854775807 public const long MinValue; // =-9223372036854775808 // Public Static Methods public static long Parse(strings); public static long Parse(strings, IFormatProviderprovider); public static long Parse(strings, System.Globalization.NumberStylesstyle); public static long 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
→
Int64(IComparable, IFormattable, IConvertible)
Multiple types
Multiple types