Abstract: This error occurs if you have code that attempts to convert two types that cannot be implicitly converted, such as in an assignment of a base type to a derived type that is missing an explicit cast. For more information, see.Conversion Operators (C# Programming Guide).