FunctionAsyncTask2Params

    0

    10

    {

    await Task.Delay(100);

    Console.WriteLine($"x = {x} y = {y}");

    }

    The code in this block will create a new task that will wait for 100 milliseconds before continuing. Once the task has completed, the code will print out the values of x and y.

    Shortcut: fa2

    public async Task Func(x x, x x)
    {
      
      
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.