Chapter 46. Reflection

There are situations in which you need to implement logic for performing some tasks depending on user choices. This kind of a situation is not uncommon. The problem is when you cannot predetermine the code required for executing actions depending on user input. Think of code generators: These tools know how to generate code but cannot predetermine which code has to be generated until the users specify their requirements. Also think of assemblies external from your application. In some cases you ...

Get Visual Basic® 2012 Unleashed, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.