11 [__DynamicallyInvokable]
17 [__DynamicallyInvokable]
21 [__DynamicallyInvokable]
55 [__DynamicallyInvokable]
73 [__DynamicallyInvokable]
74 public override bool Equals(
object obj)
80 return this == (int)obj;
88 [__DynamicallyInvokable]
96 [__DynamicallyInvokable]
104 [SecuritySafeCritical]
105 [__DynamicallyInvokable]
116 [SecuritySafeCritical]
117 [__DynamicallyInvokable]
126 [SecuritySafeCritical]
127 [__DynamicallyInvokable]
139 [SecuritySafeCritical]
140 [__DynamicallyInvokable]
155 [__DynamicallyInvokable]
175 [__DynamicallyInvokable]
192 [__DynamicallyInvokable]
213 [__DynamicallyInvokable]
225 [__DynamicallyInvokable]
226 public static bool TryParse(
string s, out
int result)
241 [__DynamicallyInvokable]
259 [__DynamicallyInvokable]
268 [__DynamicallyInvokable]
277 [__DynamicallyInvokable]
286 [__DynamicallyInvokable]
295 [__DynamicallyInvokable]
304 [__DynamicallyInvokable]
313 [__DynamicallyInvokable]
322 [__DynamicallyInvokable]
331 [__DynamicallyInvokable]
340 [__DynamicallyInvokable]
349 [__DynamicallyInvokable]
358 [__DynamicallyInvokable]
367 [__DynamicallyInvokable]
377 [__DynamicallyInvokable]
387 [__DynamicallyInvokable]
390 return Convert.DefaultToType(
this, type, provider);
float ToSingle(IFormatProvider provider)
Converts the value of this instance to an equivalent single-precision floating-point number using the...
Converts a base data type to another base data type.
static long ToInt64(object value)
Converts the value of the specified object to a 64-bit signed integer.
static double ToDouble(object value)
Converts the value of the specified object to a double-precision floating-point number.
static int Parse(string s, IFormatProvider provider)
Converts the string representation of a number in a specified culture-specific format to its 32-bit s...
string ToString(IFormatProvider provider)
Converts the numeric value of this instance to its equivalent string representation using the specifi...
const int MaxValue
Represents the largest possible value of an T:System.Int32. This field is constant.
TypeCode GetTypeCode()
Returns the T:System.TypeCode for value type T:System.Int32.
override string ToString()
Converts the numeric value of this instance to its equivalent string representation.
double ToDouble(IFormatProvider provider)
Converts the value of this instance to an equivalent double-precision floating-point number using the...
bool ToBoolean(IFormatProvider provider)
Converts the value of this instance to an equivalent Boolean value using the specified culture-specif...
TypeCode
Specifies the type of an object.
static bool TryParse(string s, out int result)
Converts the string representation of a number to its 32-bit signed integer equivalent....
static float ToSingle(object value)
Converts the value of the specified object to a single-precision floating-point number.
The exception that is thrown for invalid casting or explicit conversion.
char ToChar(IFormatProvider provider)
Converts the value of this instance to an equivalent Unicode character using the specified culture-sp...
bool Equals(int obj)
Returns a value indicating whether this instance is equal to a specified T:System....
static int Parse(string s)
Converts the string representation of a number to its 32-bit signed integer equivalent.
Represents an instant in time, typically expressed as a date and time of day. To browse the ....
DateTime ToDateTime(IFormatProvider provider)
Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-sp...
sbyte ToSByte(IFormatProvider provider)
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture...
Defines a generalized type-specific comparison method that a value type or class implements to order ...
int CompareTo(object value)
Compares this instance to a specified object and returns an indication of their relative values.
const int MinValue
Represents the smallest possible value of T:System.Int32. This field is constant.
NumberStyles
Determines the styles permitted in numeric string arguments that are passed to the Parse and TryParse...
Represents a 32-bit signed integer.To browse the .NET Framework source code for this type,...
static char ToChar(object value)
Converts the value of the specified object to a Unicode character.
Provides information about, and means to manipulate, the current environment and platform....
static bool ToBoolean(object value)
Converts the value of a specified object to an equivalent Boolean value.
static int Parse(string s, NumberStyles style, IFormatProvider provider)
Converts the string representation of a number in a specified style and culture-specific format to it...
decimal ToDecimal(IFormatProvider provider)
Converts the value of this instance to an equivalent T:System.Decimal number using the specified cult...
string ToString(string format)
Converts the numeric value of this instance to its equivalent string representation,...
override bool Equals(object obj)
Returns a value indicating whether this instance is equal to a specified object.
int ToInt32(IFormatProvider provider)
Converts the value of this instance to an equivalent 32-bit signed integer using the specified cultur...
static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out int result)
Converts the string representation of a number in a specified style and culture-specific format to it...
static ushort ToUInt16(object value)
Converts the value of the specified object to a 16-bit unsigned integer.
object ToType(Type conversionType, IFormatProvider provider)
Converts the value of this instance to an T:System.Object of the specified T:System....
static sbyte ToSByte(object value)
Converts the value of the specified object to an 8-bit signed integer.
Represents type declarations: class types, interface types, array types, value types,...
ushort ToUInt16(IFormatProvider provider)
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified cult...
static uint ToUInt32(object value)
Converts the value of the specified object to a 32-bit unsigned integer.
string ToString(string format, IFormatProvider provider)
Converts the numeric value of this instance to its equivalent string representation using the specifi...
short ToInt16(IFormatProvider provider)
Converts the value of this instance to an equivalent 16-bit signed integer using the specified cultur...
static decimal ToDecimal(object value)
Converts the value of the specified object to an equivalent decimal number.
long ToInt64(IFormatProvider provider)
Converts the value of this instance to an equivalent 64-bit signed integer using the specified cultur...
The exception that is thrown when one of the arguments provided to a method is not valid.
static int Parse(string s, NumberStyles style)
Converts the string representation of a number in a specified style to its 32-bit signed integer equi...
override int GetHashCode()
Returns the hash code for this instance.
static byte ToByte(object value)
Converts the value of the specified object to an 8-bit unsigned integer.
Defines a generalized method that a value type or class implements to create a type-specific method f...
static short ToInt16(object value)
Converts the value of the specified object to a 16-bit signed integer.
Specifies that the class can be serialized.
ulong ToUInt64(IFormatProvider provider)
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified cult...
int CompareTo(int value)
Compares this instance to a specified 32-bit signed integer and returns an indication of their relati...
static ulong ToUInt64(object value)
Converts the value of the specified object to a 64-bit unsigned integer.
byte ToByte(IFormatProvider provider)
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified cultu...
Defines methods that convert the value of the implementing reference or value type to a common langua...
uint ToUInt32(IFormatProvider provider)
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified cult...