static async Task CreateBlockAsync(TwitterContext twitterCtx) { Console.Write("User Screen Name to Block: "); string userName = Console.ReadLine(); var user = await twitterCtx.CreateBlockAsync(0, userName, true); if (user != null) Console.WriteLine("User Name: " + user.Name); }