Answer Posted / shalini
When two programming elements share the same name, one of
them can hide, or shadow, the other one. In such a
situation, the shadowed element is not available for
reference; instead, when your code uses the shared name,
the Visual Basic compiler resolves it to the shadowing
element.
Shadowing through inheritance is hiding a method of a
base class and providing a new implementation for the same.
This is the default when a derived class writes an
implementation of a method of base class which is not
declared as overridable in the base class. This also serves
the purpose of protecting an implementation of a new method
against subsequent addition of a method with the same name
in the base class.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
How do we access view state value of this page in the next page?
Is asp.net core faster?
What are the different validators in asp.net?
How can we pass info between 2 asp.net pages?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
What is authorization in asp.net?
What are tuples?
How you can manage the state of application at the server side in ASP.NET?
What is the difference between asp.net and mvc?
What is the life-span of the items in the viewstate?
What is the page life cycle in asp.net?
What is the default Orientation property in a Menu control?
What is the difference between session and viewstate in asp.net?
Which tool you have done?
What is the purpose of using MVC programming pattern in ASP.NET?