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