Reflection

Carl Ganz · Apress eBooks · 2010

The .NET Reflection classes provide you with the ability to access the various types—classes, methods, properties, fields, attributes, events, and constructors—found within an assembly. Because dynamic programming often requires you to access code that won’t be known to the application at compile time, knowledge of Reflection is vital to creating a data-driven application. This chapter explains how Reflection works and how you can use it in your data-driven projects. You review how to access the class structure of an application, instantiate classes and forms, set properties, and invoke methods—all at runtime.

Read the paper · More papers on PaperTik