ECMA-334 C# Language Specification

13.2: Explicit conversions

The following conversions are classified as explicit conversions:

Explicit conversions can occur in cast expressions (14.6.6).

The set of explicit conversions includes all implicit conversions. [Note: This means that redundant cast expressions are allowed. end note]

The explicit conversions that are not implicit conversions are conversions that cannot be proven to always succeed, conversions that are known to possibly lose information, and conversions across domains of types sufficiently different to merit explicit notation.

In This Section: