Async Oczekuj w skrócie
// simple method structure
public static Task<int> FooAsync(int num)
{
num+=5;
return Task.FromResult(num);
}
// calling function structure
public static async void Solve()
{
var temp = await FooAsync(i);
}
PrashantUnity