using System;
using System.Threading.Tasks;
public class Program
{
public static async Task Main()
//-------------------------------------------------------------------------------------------------------------------------------
// (1) implement method PrintNumbersAsync which will print out a number from 1 to 10 every second on the console
//await PrintNumbersAsync();
// (2) implement waiting for both below tasks in parralel. What will be printed out in the console?
}
async Task Task1()
await Task.Delay(2000);
Console.WriteLine("1");
async Task Task2()
await Task.Delay(1000);
Console.WriteLine("2");