public static void AsyncStuff() { var ap = new AsyncPro(); ap.AsyncParty(); Thread.Sleep(5000); }
public static async void AsyncStuff() { var ap = new AsyncPro(); await ap.AsyncParty(); //Thread.Sleep(5000); }
public static void AsyncStuff() { var ap = new AsyncPro(); ap.AsyncParty(); Thread.Sleep(5000); }
public static async void AsyncStuff() { var ap = new AsyncPro(); await ap.AsyncParty(); //Thread.Sleep(5000); }