Conversions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods that perform various type conversions.
public ref class Conversions sealed
public sealed class Conversions
type Conversions = class
Public NotInheritable Class Conversions
- Inheritance
-
Conversions
Change |
Converts an object to the specified type. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Fallback |
Obsolete.
Obsolete.
Converts an object to the specified type. |
From |
Converts a Char value to a string, given a byte count. |
From |
Converts a Char array to a string. |
From |
Converts a subset of a Char array to a string. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Converts an object to a Boolean value. |
To |
Converts a string to a Boolean value. |
To |
Converts an object to a Byte value. |
To |
Converts a string to a Byte value. |
To |
Converts an object to a Char value. |
To |
Converts a string to a Char value. |
To |
Converts an object to a one-dimensional Char array. |
To |
Converts a string to a one-dimensional Char array. |
To |
Converts an object to a DateTime value. |
To |
Converts a string to a DateTime value. |
To |
|
To |
Converts an object to a Decimal value. |
To |
Converts a string to a Decimal value. |
To |
Converts an object to a Double value. |
To |
Converts a string to a Double value. |
To |
Converts an object to a generic type |
To |
Converts an object to an integer value. |
To |
Converts a string to an integer value. |
To |
Converts an object to a |
To |
Converts a string to a |
To |
Converts an object to an SByte value. |
To |
Converts a string to an SByte value. |
To |
Converts an object to a |
To |
Converts a string to a |
To |
Converts an object to a Single value. |
To |
|
To |
Returns a string that represents the current object. (Inherited from Object) |
To |
|
To |
|
To |
|
To |
|
To |
Converts a Decimal value to a String value, using the specified number format. |
To |
|
To |
Converts a Double value to a String value, using the specified number format. |
To |
|
To |
Converts a |
To |
Converts an integer value to a String value. |
To |
Converts a |
To |
Converts an object to a String value. |
To |
Converts a Single value to a String value, using the specified number format. |
To |
Converts a Single value (a single-precision floating point number) to a String value. |
To |
Converts a |
To |
Converts a |
To |
Converts an object to a |
To |
Converts a string to a |
To |
Converts an object to a |
To |
Converts a string to a |
To |
Converts an object to a |
To |
Converts a string to a |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: