-
Book Overview & Buying
-
Table Of Contents
Metaprogramming in C#
By :
C# is a statically typed language, which means we take our code in text form and run it through a compiler, and it produces a binary that is then executed later. The code does not change after the compiler is done. Not all languages are like this; languages such as Ruby, Python, and JavaScript are dynamic languages and do not compile to binary before execution. They are interpreted at runtime, meaning that they can also change gradually during runtime. This is a very powerful trait.
In this chapter, we will look into how we can make use of the dynamic language runtime part of the .NET runtime and create code dynamically and differently from how we’ve done it thus far.
We will cover the following topics:
By the end of the chapter, you will understand what the dynamic language runtime is and how you can...