Archives for: "February 2014, 17"
Dynamically Create an instance of class in code
In C#, you can create an instance of class dynamically. For example, you can create an instance of class according to database values, rather than hard coded.
You just need to use reflection.
CodeObjectHandle obj =… more »