Can i create a class dynamically based on the inputs from user?
I've a requirement like to read an xml file and to store the values as a collection of objects. but the xml is not a p开发者_运维知识库redifined one, so based on the xml input I need to create the class so that I can create its instance and store it as a collection.
Thanks...
You can use the c# compiler to compile text (c# text of course) into classes and output them into a dll file.
C# Compiler
精彩评论