This documentation is archived and is not being maintained.

Compiler Error CS1503

Updated: July 2008

Argument 'number' cannot convert from TypeA to TypeB

The type of one argument in a method does not match the type that was passed when the class was instantiated. This error typically appears along with CS1502. See CS1502 for a discussion of how to resolve this error.

Date

History

Reason

July 2008

Revised error message text.

Content bug fix.

Show: