using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public class Program
{
static bool finished = false;
static int bb = 0;
public static void Main()
Test();
}
static void Test()
DoAsync();
while (!finished) {
for (int j = 0; j < 100000; j++) {
bb++;
Console.WriteLine(bb);
static async void DoAsync() {
await Task.Delay(1);
finished = true;