What are the shadow variables?



What are the shadow variables?..

Answer / Ashutosh Singh

Shadowing is when you declare a local variable with the same name as an existing variable in a higher scope, effectively creating a new variable with the same name but only within that specific block of code. The original variable remains unchanged.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB.NET Interview Questions

There are three versions of VB6--Learning Edition, Professional and Enterprise. Is VB.Net similar?

1 Answers  


What is the differences between dataset.clone and dataset.copy?

1 Answers  


Explain the use of option explicit?

1 Answers  


Can you please explain the difference between authentication and authorization?

1 Answers  


Name some of the keywords used in vb.net?

1 Answers  


Write a program that accepts an array of numbers and a number, and return a string “Yes” if the number is found in the array, “No” if the number is not found in the array.

2 Answers  


linex will support dot net?

4 Answers   Phoenix Technologies,


hello! I am developing software in vb6 and vb.net separately which i need to generate barcodes e.g i have a string "182346-u",so the problem is that how to generate barcode from this type of string can any body help me please thanks regard !

2 Answers  


Explain an assembly and its use?

1 Answers  


Explain the difference between system.string and system.stringbuilder classes?

0 Answers  


what is the advantage of option strict on?

1 Answers  


List the different types of assembly?

1 Answers  


Categories