C#: Dynamic Keyword: What, Why & When
What The “dynamic” keyword was first introduced in C# 4.0. It is used something like this: Using this you can even return anonymous .Net types (see the “When” section before you actually do this in production code): In the above code note that anonymous types are internal to an assembly, this means that if you…