Sunday, 28 April 2013

What is shadowing? | VB.Net Interview Questions

When global and local variable in the same name.
the local variable in a method or function which use to override the global is called the shadowing.
ie the Global variable is being shadowed by the local variable.

No comments: