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

What are types of compatibility in VB6 There are three possible project compatibility settings: No Compatibility Project Compatibility Binary Compatibility

Which property on a Combo Box do you set with a column name, prior to setting the Data Source, to display data in the combo box? ComboBox.DataValueField = "ColumnName" When

What is a node? A network can have of two or more computers directly linked by some physical medium such as coaxial cable or optical fiber. Such a physical medium is known as L

Question : (a) Describe what are streams in file handling and explain what should be done when accessing data in an existing file. (b) For what purpose are StreamReader an

Explain Component diagrams Package: - The Package logically make group of element of a UML model. Component: - It is the actual physical module or implementation of

Php project for Narivramanarao For email Project Description: This is a project for Narivramanarao for emails and for php.rar please bid on the project and let's get started

Can you give an overview of ADO.NET architecture? The most important partĀ  in the ADO.NET architecture is the "Data Provider". TheĀ  Data Provider provides access to the datasou

They are triggered in the following order as shown below: Application_BeginRequest Application_AuthenticateRequest Application_AuthorizeRequest Application_ResolveReque

What are Assemblies? Assembly is a single deployable unit that have information about the implementation of classes, structures and interfaces. It also keeps the information ab