1 out of 4 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ