AsyncOverSimplified.Program.SimpleMainAsync C# (CSharp) Method

SimpleMainAsync() static private method

Runs all 3 variations of the Simple code to ensure they all have the same result
static private SimpleMainAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        static async Task SimpleMainAsync()
        {
            var worker = new SimpleAsyncWorker();
            await worker.DoWork();
            await worker.DoWorkExplicitTasks();
            await worker.DoWorkWithoutAwait();
        }