Vaibhav Gaikwad
Microsoft .NET developer
Bla Code! Bla Code!

August 2015 Entries

Need a class at runtime - .NET 4.5 helps

Ever came across a need to create class definitions at run-time based on some meta definitions coming from some external source. Well, we will not care about where those meta definition about the class comes from, but the problem at hand is the create a class definition at run-time. .NET evolved a lot and with 4.5 there are pretty interesting things to work out. Two of them are:1. Keyword "dynamic"2. DynamicObject class from System.DynamicLets assume that our meta definitions on the class properties ......