using System.Threading.Tasks;
public static async Task Main()
Console.Out.WriteLine("Ok, so if you have not got your number yet, the we wont handle exceptions.");
private static async Task TestActions()
var actions = Enumerable.Range(0, 3).ToList();
foreach(var action in actions)
await SameValueWithDelay(action);
Console.Out.WriteLine("we are here, but i wonder if you have your number already");
private static async Task<int> SameValueWithDelay(int x)
Console.Out.WriteLine("Im still getting your number on another thread hopefully");