Dynamic Language Runtime
Learn to bypass compile-time type checking and use the dynamic language runtime to evaluate object members at execution time.
We'll cover the following...
We'll cover the following...
Although C# is primarily a statically-typed language, it supports dynamic features through the dynamic language runtime (DLR). To understand this feature, we should consider the difference between statically and dynamically-typed languages. In languages with static typing, the identification of all types and their members (such as properties and methods) occurs at the compilation stage.
Consider the following Course class: