what is the difference between shadowing and


What is the difference between Shadowing and Overriding?

The main basic difference between shadowing and overriding are as follows:-

1) The Overriding redefines only the implementation while shadowing redefines the complete element.

2) In the overriding derived classes can refer the parent class element by using "ME" keyword, but in the shadowing you can access it by "MYBASE".

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is the difference between shadowing and
Reference No:- TGS0161265

Expected delivery within 24 Hours