Int32 Structure |
Namespace: System
[SerializableAttribute] public struct Int32 : IComparable, IFormattable, IConvertible, IComparable<int>, IEquatable<int>
The Int32 type exposes the following members.
Name | Description | |
---|---|---|
Equals(Int32) | Returns a value indicating whether this instance is equal to a specified Int32 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 32-bit signed integer equivalent. | |
Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its 32-bit signed integer equivalent. | |
Parse(String, IFormatProvider) | Converts the string representation of a number in a specified culture-specific format to its 32-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 32-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 format information. | |
TryParse(String, Int32) | Converts the string representation of a number to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded. | |
TryParse(String, NumberStyles, IFormatProvider, Int32) | Converts the string representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent. A return value indicates whether the conversion succeeded. |
Name | Description | |
---|---|---|
MaxValue | Represents the largest possible value of an Int32. This field is constant. | |
MinValue | Represents the smallest possible value of Int32. This field is constant. |