Dynamic Create Class
-
Hi, I want to create a class and its methods at run-time. Users will write the class code in text-box and then use it. How can I do this? Savaş Külah savaskulah@msn.com
-
Hi, I want to create a class and its methods at run-time. Users will write the class code in text-box and then use it. How can I do this? Savaş Külah savaskulah@msn.com
There's a section about this already in the .NET Framework SDK. Read Generating and Compiling Source Code Dynamically in Multiple Languages[^]. It would've also been better if you tried searching CodeProject first. There's thousands of articles about many subjects, and researching is part of "Research and Development". The following search yields many decent articles: http://www.codeproject.com/info/search.asp?cats=3&cats=5&searchkw=CodeDom[^]
Microsoft MVP, Visual C# My Articles