Conversion Operators (C#)
Full Name:
Conversion Operators (C#)
Short Name:
Conversion Operators (C#)
Type of Entity:
C#
Abstract:
C# enables programmers to declare conversions on classes or structs so that classes or structs can be converted to and/or from other classes or structs, or basic types. Conversions are defined like operators and are named for the type to which they convert. Either the type argument to be converted, or the type of the result of the conversion, but not both, must be the containing type.
MSDN Source URL:
http://msdn2.microsoft.com/09479473.aspx