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 LINQ query expressions? A LINQ query, also known as a query expression, having of a combination of query clauses that identify the data sources for the query. It conta

What is fill factor? The 'fill factor' option describes how full SQL Server will make each index page. When there is no free space to insert a new row on the index page, the SQ

I need a Web Application UI Modernization - Preliminary Technology Assessment We are seeking to overhaul a 10-year old enterprise application, CRM-related as well as web-based t


What are the various ways of authentication techniques in ASP.NET? The Selection of  an authentication provider is as simple as making an entry in  the web.config file of  the

I need Academic expert for Genetic Algorithm Project Description: Seeking academic expert for Genetic Algorithm. Please bid on this project if you will start work today. S

What is the sequence of UML diagrams in project? At First let me say some fact about this question, you cannot implement all the nine diagrams given by the UML in one project;

Demonstrating Boxing and Unboxing - C# Program Hi, Can any of you, tell me how to use boxing and Unboxing in c#?

System Simulation - repost 2 Project Description: A. Prepare random numbers of the form: Case 1: Uniformly distributed random numbers (RNs) [range: 0.0-1.0] Case 2: Exp

What is an object? They are instance of classes. It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Attributes and behavior of