using System; using DIVEX.Core; using static DIVEX.Core.DivexUtils; [DivexCompose] public partial class Program { public static void Main() { DelFunc.DF1 add = (int a, int b) => a + b; var add1 = add.Apply(a: 1); Console.Write(add1.Invoke(b: 2)); } }
For security reasons, most .net APIs cannot be used when trying DIVEX from the browser. Mostly, you can use Console.Write, Console.WriteLine, DateTime.Now, DateNow.Utc, and methods in the Math class. If you think there is an API that should be added, please contact us.