Difference between shadowing and overriding, DOT NET Programming

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".

Posted Date: 9/22/2012 3:07:13 AM | Location : United States







Related Discussions:- Difference between shadowing and overriding, Assignment Help, Ask Question on Difference between shadowing and overriding, Get Answer, Expert's Help, Difference between shadowing and overriding Discussions

Write discussion on Difference between shadowing and overriding
Your posts are moderated
Related Questions
I want help to make Clone a Website -dior.com I want all features of above mentioned site 1)Effects 2)Mobile optimization for mobile browsers of all smart phones. Etc.

What is an activity? In Windows Workflow Foundation 4.0, an activity is the basic unit of composition and implementation of a workflow. Each activity in a workflow consists of


How can we implement singleton pattern in .NET ? The Singleton pattern basically focuses on having one and only one instance of the object running. Lets take an e.g. a windows

What is normalization & what are the types of normalization? Normalization is a set of rules that have been established to aid in the design of tables that are meant to be conn

The SQL cache dependencies is a new characteristic in ASP.NET 2.0 which can automatically invalidate a cached data object (like a Dataset) when the related data is modified in the

25 16 25 9 16 25 4 9 16 25 1 4 9 16 25

Very, Very Boards does a big business in shirts, especially for groups and teams. They need a project that will calculate the price for individual orders, as well as a summary for

Create page website to catalog some of the music: A homepage:  that automatically comes up when you go to 127.0.0.1:3000 (instead of the default Ruby-on-Rails pa

What does a break statement do in the switch statement? The switch statement is a selection control statement that is used to handle many choices and transfer control to the ca