开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜