When I was looking to the System.Linq.Expression capabilities (creating expression trees in code, compiling them, executing them) I was asking myself if this is possible for class creation as well – specifically generic classes.
I would expect something like Expression.Class() or Expression.GenericClass(). Looking at the methods I did not see any of those. It would be very practical, since I could build business objects dynamically – on the fly. Actually that is what I need. If there is another approach to that in .net c# that is also of interest to me.
There is an example of how to do this in All-In-One Framework codeplex project
http://1code.codeplex.com/
Sorry this is a bit long.. 😛