Nytro Posted January 25, 2014 Report Share Posted January 25, 2014 [h=1]Compiling C# Code at Runtime[/h]By Lumír L? Kojecký, 25 Jan 2014[h=2]Introduction[/h] Sometimes, it is very useful to compile code at runtime. Personally, I use this feature mostly in these two cases: Simple web tutorials – writing a small piece of code into TextBox control and its execution instead of the necessity to own or to run some IDE.User-defined functions – I have written an application for symbolic regression with simple configuration file where user can choose some of my predefined functions (sin, cos, etc.). The user can also simply write his own mathematical expression with basic knowledge of C# language.If you want to use this feature, you don’t have to install any third-party libraries. All functionality is provided by the .NET Framework in Microsoft.CSharp and System.CodeCom.Compiler namespaces.Articol:http://www.codeproject.com/Tips/715891/Compiling-Csharp-Code-at-Runtime Quote Link to comment Share on other sites More sharing options...
Comunistul Posted March 9, 2014 Report Share Posted March 9, 2014 CodeDOM - mai specific, toate informatiile sunt aici:Using the CodeDOM Quote Link to comment Share on other sites More sharing options...