开发者

Can i create a class dynamically based on the inputs from user?

开发者 https://www.devze.com 2023-02-03 17:46 出处:网络
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 cl

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

精彩评论

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