Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1503

Argument 'arg': cannot convert from 'type1' to 'type2'

The type of one argument in a method does not match the type that was passed when the class was instantiated.

See CS1502 for a discussion on how to resolve this error.

Show:
© 2014 Microsoft