Parsing Strings in the .NET Framework

A parsing operation converts a string that represents a .NET Framework base type into that base type. For example, a parsing operation is used to convert a string to a floating-point number or to a date and time value. The method most commonly used to perform a parsing operation is the Parse method. Because parsing is the reverse operation of formatting (which involves converting a base type into its string representation), many of the same rules and conventions apply. Just as formatting uses an object that implements the IFormatProvider interface to provide culture-sensitive formatting information, parsing also uses an object that implements the IFormatProvider interface to determine how to interpret a string representation. For more information, see Formatting Types in the .NET Framework.

Parsing Numeric Strings in the .NET Framework

Describes how to convert strings into .NET Framework numeric types.

Parsing Date and Time Strings in the .NET Framework

Describes how to convert strings into .NET Framework DateTime types.

Parsing Other Strings in the .NET Framework

Describes how to convert strings into Char, Boolean, and Enum types.

Formatting Types in the .NET Framework

Describes basic formatting concepts like format specifiers and format providers.

Type Conversion in the .NET Framework

Describes how to convert types.

Working with Base Types in the .NET Framework

Describes common operations that you can perform on .NET Framework base types.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft