Int16 Structure |
Namespace: System
[SerializableAttribute] public struct Int16 : IComparable, IFormattable, IConvertible, IComparable<short>, IEquatable<short>
The Int16 type exposes the following members.
Name | Description | |
---|---|---|
Equals(Int16) | Returns a value indicating whether this instance is equal to a specified Int16 value. | |
Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Parse(String) | Converts the string representation of a number to its 16-bit signed integer equivalent. | |
Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its 16-bit signed integer equivalent. | |
Parse(String, IFormatProvider) | Converts the string representation of a number in a specified culture-specific format to its 16-bit signed integer equivalent. | |
Parse(String, NumberStyles, IFormatProvider) | Converts the string representation of a number in a specified style and culture-specific format to its 16-bit signed integer equivalent. | |
ToString | Converts the numeric value of this instance to its equivalent string representation. (Overrides ValueTypeToString.) | |
ToString(IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. | |
ToString(String) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. | |
ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific formatting information. |
Name | Description | |
---|---|---|
MaxValue | Represents the largest possible value of an Int16. This field is constant. | |
MinValue | Represents the smallest possible value of Int16. This field is constant. |