Overloading with same parameter signature

Posted by Soham on Stack Overflow See other posts from Stack Overflow or by Soham
Published on 2010-05-01T16:13:32Z Indexed on 2010/05/01 16:17 UTC
Read the original article Hit count: 165

Filed under:
|

In C#, is it possible to have same parameters yet override each other(they are different in the return types)

public override Stocks[] Search(string Field,string Param){ //some code}
public override Stocks Search(string Field, string Param){//some code}

C# returns compilation error

© Stack Overflow or respective owner

Related posts about c#

Related posts about overloading