difference between inheritance override and shadow [Resolved]

Posted by Rajesh081725 under C# on 11/7/2012 | Points: 10 | Views : 1868 | Status : [Member] | Replies : 1
hi,
can any one tell

what is the difference between inheritance override and shadow given some examples
difference at 10 point.

Time is Gold
Thanks & Regards,
Rajesh Kumar,
9962038582.



Responses

Posted by: Ajayk3 on: 11/7/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
1) In overriding we use keyword override but in hiding we use keyword new

2) In overriding sub class method actually overrides the base class method but in hiding it creates one new method and still base class method is there.



Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response