Hi all,
I have a specific requirement where in i want to generate C# code on runtime. Please let me know how to achieve this.
Can this be done with help of CodeCompileUnit ?
Thanks,
MMH.
Printable View
Hi all,
I have a specific requirement where in i want to generate C# code on runtime. Please let me know how to achieve this.
Can this be done with help of CodeCompileUnit ?
Thanks,
MMH.
Yes it can be done and you should take a look at System.CodeDom.Compiler. Also take a look at this article on codeproject
http://www.codeproject.com/KB/codege...neration1.aspx
Thanks for this info...
Regards,
MMH