public void executeCompiledCode() { O2Thread.mtaThread(() => { try { if (csharpCompiler != null) { //if (csharpCompiler.CompilerResults != null) if (csharpCompiler.CompiledAssembly != null) { var result = csharpCompiler.executeFirstMethod(); showInfo("Execution Completed", result); } } } catch (Exception ex) { PublicDI.log.ex(ex, "in executeCompiledCode"); } }); }