Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is shadowing?

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


Please Help Members By Posting Answers For Below Questions

What is autopostback in dropdownlist in asp net?

939


How to retrieve user name in case of Window Authentication?

678


What is clickid?

989


What is http post action?

957


What is the request flow used for asp.net mvc framework? : asp.net mvc

928


Is viewstate enabled by default?

914


What is the behavior of a Web browser when it receives an invalid element?

1054


What is a web pool?

1045


What are the asp.net server side objects?

927


What is the purpose of using MVC programming pattern in ASP.NET?

991


What language is asp.net written in?

996


A web service can only be written in .net? State whether true or false.

950


To bind columns manually which tags do you need to add within the asp:datagrid ?

921


What is session in asp.net?

915


Is it true that a Web service must be written in .NET or not?

1036