Home

Getting data out form a script to the C# that ran it

I'd like to use data generated by a scirpt in the C# code that compiled and ran it, like this:

   LINQPad.ObjectModel.QueryCompilation compiledScript = LINQPadUtil.Compile("SomeScript.linq");
   LINQPad.ObjectModel.QueryExecuter exec = 
   CompiledScript.Run(LINQPad.QueryResultFormat.Text);
   exec.Wait();
   // Here I want to use data generated in the script - what's the best way to do this?

Comments

Sign In or Register to comment.