-
Book Overview & Buying
-
Table Of Contents
Metaprogramming in C#
By :
Now that we have covered some of the basics of how metaprogramming can benefit you, its core concepts, and a real-world example, it’s time to look inside the .NET runtime and see how we can leverage its power.
In this chapter, we will have a look at the implicit metadata provided by the compiler and the runtime. We’ll see how we can collect all types in a running system and use it for discovery.
We will cover the following topics:
By the end of this chapter, you will understand how you can use the powerful APIs of the .NET runtime to reason about the types already in the system. You’ll learn how this can then be applied to make a more elastic and dynamic code base that can grow and ensure its maintainability is preserved.