April 2013
Intermediate to advanced
1700 pages
92h 51m
English
C# has a bunch of aliases for Base Class Library (BCL) types in the form of reserved words, such as int, long, bool, string, and object (among various others). You might rightfully wonder whether the new dynamic type is also an alias for some BCL type. It turns out it is, but maybe not what you expect it to be.
First, let me disappoint you. There is no such thing as a System.Dynamic type, which would be the most logical guess. To understand why this is not the way things are done to achieve the effects of the dynamic feature, you need to understand a few things:
An object typed as dynamic can really be anything at runtime, ...
Read now
Unlock full access