using System;
using DIVEX.Core;
using static DIVEX.Core.DivexUtils;

[DivexCompose]
public partial class Program
{
    public static void Main()
    {
        var add = (int a, int b) => a + b;

        var add1 = add[a: 1];

        Console.Write(add1(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.