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

3. What goals do you have in your career?

1897


How do you do client-side validation in .net? How to disable validator control by client side javascript?

1075


Can we use a static function with a non-static variable?

1020


Describe a Windows Service and its lifecycle ?

1212


What is sql data source control in asp.net?

1101


What are session state modes in asp.net?

1090


What are uri parameters?

1080


Is there any property names “isnavigating”?

1125


Where code pages are used?

1278


How to send a DataReader as a parameter to a remote client ?

3510


witch is the best insistute in sharpoint course.what abt future of share point course.

3540


What are the three parts of an http response?

1023


How to use ipostback?

1059


How does session authentication work?

980


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

1159