Converting Types
Collapse the table of content
Expand the table of content

Converting Types

There are several ways to convert to and from types in a managed environment. This section explains the techniques and rules used to convert types using the .NET Framework.

In This Section

Converting Overview
Describes the basic concepts of managed type conversion.
Type Conversion Tables
Describes widening conversions and narrowing conversions.
Converting with System.Convert
Describes how to perform conversions using the Convert class.
Explicit Conversion
Describes how to perform conversions using casts.

Related Sections

Formatting Types
Describes basic formatting concepts like format specifiers and format providers.
Parsing Strings
Describes how to convert strings into .NET Framework types.
Common Type System
Describes types used by the .NET Framework.
Show:
© 2016 Microsoft