public static async Task Main(string[] args) { AsynchronousFactoryMethod asynchronousFactoryMethod = await AsynchronousFactoryMethod.CreateAsync(); }
public static Task <AsynchronousFactoryMethod> CreateAsync() { var obj = new AsynchronousFactoryMethod(); return(obj.InitAsync()); }