Summary

This chapter covered one of the most important topics in the .NET development, reflection. You saw what reflection is and how assemblies are structured. Talking in code terms, you then saw how to interrogate assembly information and how to reflect types to inspect types and type members exposed by an entire assembly or by a single type. Next, dynamically invoking code from an external assembly without the need of having a reference to that assembly was explained. You then learned how to take advantage of the System.Reflection.Emit namespace to create an assembly, types, and members at runtime. Finally, you learned about caller information, which enables you to retrieve information such as the name of the file where a code block is executed, ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.