Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Parsing Strings

The Parse method converts a string that represents a .NET Framework base type into an actual .NET Framework base type. Because parsing is the reverse operation of formatting (converting a base type into a string representation), many of the same rules and conventions apply. Just as formatting uses an object that implements the IFormatProvider interface to format the information into a string, parsing also uses an object that implements the IFormatProvider interface to determine how to interpret a string representation. For more information, see Formatting Overview.

Parsing Numeric Strings

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

Parsing Date and Time Strings

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

Parsing Other Strings

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

Formatting Types

Describes basic formatting concepts like format specifiers and format providers.

Converting Types

Describes how to convert types.

Working with Base Types

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

Community Additions

ADD
Show:
© 2015 Microsoft