Hi!
i want to write a program which can compile any enterd code by a user.
for example: the user will write his code in a textbox or another edit components
then i will compile it and return the result of his program.
so if any one about awaye to do that i will be so thanked for him
Loading
Shankar ArigelaPosted Oct 26, 2005, 12:38 AM
1. CodeNamespace
2. CodeCompileUnit
3. CSharpCodeProvider
4. System.CodeDom.Compiler.ICodeCompiler
5. compiler.CompileAssemblyFromDom
Using the combination of all these classes, we can generate a Code compilation modules. Please check these in MSDN and try implementing as per your need.
Thanks,
Shankar.
Andrzej WegierskiPosted Oct 25, 2005, 12:31 PM