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