Supriya Shanbhag
Can we have different returns with Same Method in Static polymorphism?
By Supriya Shanbhag in .NET on Apr 28 2014
  • Neeraj Negi
    May, 2014 1

    if u talking abt same method name bt diff return type then it is possibleint sum(int a,int b){ return c= a+b;} void sum(int a,int b,int c){ c = a+b;} otherwise make a return type class now its upto u how u wrap it up with.

    • 0
  • Munesh Sharma
    Apr, 2014 28

    http://dotnet-munesh.blogspot.in/2014/02/polymorphism-in-c.html

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS