ECMA-334 C# Language Specification

13.4: User-defined conversions

C# allows the pre-defined implicit and explicit conversions to be augmented by user-defined conversions. User-defined conversions are introduced by declaring conversion operators (17.9.3) in class and struct types.

In This Section: