public static async void AsyncStuff() { var ap = new AsyncPro(); await ap.ASyncParty(); //Thread.Sleep(5000); }
public static void TaskStuff() { var ap = new AsyncPro(); ap.TaskParty(); }
public static void ThreadStuff() { var ap = new AsyncPro(); ap.ThreadParty(); }