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
State the advantages of XML schemas over DTD. Microsoft developed a language called as the XML Schema Definition (XSD) to explain the schema to an XML document. The following a

i am working on an project and my client needs it in 2 days.project is ready but don''t know how to make setup project including local sql database(.mdf) included in setup..

What is DISCO? The Web Service Description Language (WSDL) is a W3C specification which defines the XML grammar for describing the Web Services.XML grammar describes details li

Who is a stakeholder? The stakeholder is anyone who has something to gain or lose as a result of the completion or failure of the project or phase. The stakeholder is not on

What is a project baselines? The Project base line defines a logical closure of any deliverable or cycle. For example you have done the requirement phase with sign off from the

Generate Function to Create Signed_Body for Instagram Project Description: I want the exact Signed_Body for Instagram The only difference is that I want the most recent ve


What are the improvements made in CAS in .NET 4.0? The CAS mechanism in .NET is used to control and configure the ability of managed code. Previously, as this policy was applic

JIT compiler is the part of the runtime execution environment. In Microsoft .NET there are three types  of JIT compilers are available: 1) Pre-JIT :- The Pre-JIT compiles the co

What is a delegate? The Delegate is the class that can hold a reference to a method or a function. The Delegate class has a signature and it can only reference to those methods