What is shadowing?
Answers were Sorted based on User's Feedback
Answer / raju jaiwardhan
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 element name,
the Visual Basic compiler resolves it to the shadowing
element.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / magesh
When two programming elements share the same name, one of
them can hide, or shadow, the other one. Return type
changable.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mark
Two methods can have same method name and same signature of
method.But, one method can hide the other method.It uses
Mybase keyword in vb.net,where overriding using Me keyword
in vb.net.
| Is This Answer Correct ? | 1 Yes | 1 No |
Shadowing is a concept of polymorphism usage in Object
Oriented Programming. This is a concept related to
over-riding functions at run-time or making a shadow of the
object's methods in the inherited classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nithya
shadowing provide new implementation from base class member without overriding the member.You can hide base class member in derived class using the keyword "NEW"...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rohan patel india
shadowing in general is when two variables/methods or any
other element has same name and any one of the both can
shadow( in OOP case override) the behavior of other.
| Is This Answer Correct ? | 3 Yes | 7 No |
What is object service? : Entity framework
What is the need of Action Filters in ASP.Net MVC
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
What are multicast delegates ? give me an example
What's the difference between Java and .NET garbage collectors ?
What is iobjectset? : Entity framework
How to update one of my table in database at 4pm every day how it is possible?
Is it possible to share a view across multiple controllers?
How to bind table coloum with gridview column
3 Answers Sypher Technologies,
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is reflection?
5 Answers Accenture, Merrill Lynch, Microsoft,
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?