Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In C#, two classes (either abstract or concrete) cannot be inherited by the same 
derived class. It causes ambiguity in the derived class if both have the same method 
signature. But in asp.net mvc we can use two action with same name by decorating with 
the data annotation attribute [ActionName]. I want to know how both these things are 
different. how .NET framework identifies these situation, want to know the real oops concept used behind this.


What I have tried:

I have tried lot on web to find the answer but not succeed to find the actual answer.
Posted
Updated 19-Jun-18 23:59pm
v2
Comments
F-ES Sitecore 20-Jun-18 5:54am    
The question doesn't make much sense, you are trying to compare OO inheritance with the binding of URL paths to methods. The two are completely separate things.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900