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
Perform Arithmetic operations on Floating Values - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write the code for Perfor

Project Description: Need help to answer questions of VB.NET Skills required are .NET, Software Development, C# Programming, Visual Basic, Windows Desktop

What is a class? A class explains all the attributes of objects, as well as the methods that execute the behavior of member objects. It is a comprehensive data type, which show

Windows Phone 8 Player - Radio Live Streaming Native XAML and C# Project Description: Player for Windows Phone 8 Scope: The project evolves the development of app using

I need to Develop a real state website We want a programmer who can create a website using html5, css3, jQuery, php, MySQL. All connected to a CRM to accomplish all the informat

What is DISCO? DISCO is a method developed by Microsoft to publish and discover Web services. It discovers URLs of all XML Web services located on a Web server and develops a

Update current website backend (asp.NET) and build Rest API to expose data I will shortly shape an HTML5 cross-platform mobile app. I at present have a website with a backend th

Question: (a) Outline four classes that allow you to work with File Streams. (b) (i) What potential problem can arise when you change items stored in an Application State

What are satellite assemblies? We use resource files to store data according to the localized languages. But when you actually go for the deployment you will not like to also i

Explain the WSDL. WSDL is a short form for Web Services Description Language, which is used to explain a Web service in terms of the messages that it forms and accepts. The WS