Is it possible to define a function as a Script and then run it ?
I'm trying to achive something like that:
//defined in a namespace
public class Params{public string input { get; set; }}
string script = "string TryToUpper(string input){ return input.ToUpper(); }";
var v = CSharpScript.Create(script, globalsType: typeof(Params) );
// what to do to execute TryToUpper and get "GIUSEPPE" back?
var val = v.RunAsync(???);