public static void Start(int n) { var comp = new ExpensiveComputation(n); comp.Start(); #pragma warning disable CS4014 WaitForCompletion(comp); _demo = new Demo(UpdateProgress, comp); }