Expand Minimize
This topic has not yet been rated - Rate this topic

'<method1>' and '<method2>' cannot overload each other because they differ only by return types

You have attempted to overload a method with another method that differs from the first only in its return type. In overloading, you must differentiate any two versions of a method by their argument lists; you cannot use anything other than argument lists to differentiate the methods.

Error ID: BC30301

To correct this error

  • Ensure that the methods are differentiated by their argument lists.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.