public static void Main(string[] args) { Lawyer lawyer = new Lawyer(); Moderator meg = new Moderator(); Reader reader = new Reader(); //List<Legend> legends = reader.ReadLegends(); int num = lawyer.GetInt("How many Pokemon do you need to add? "); meg.AddPokemon(num); //for (int i = 0; i < num; i++) //{ //} Console.WriteLine("done"); Console.ReadLine(); //SheetsService sheetsService = new SheetsService(new BaseClientService.Initializer //{ // HttpClientInitializer = GetCredential(), // ApplicationName = "Google-SheetsSample/0.1", //}); //// TODO: Assign values to desired properties of `requestBody`: //Spreadsheet requestBody = new Spreadsheet(); //SpreadsheetsResource.CreateRequest request = sheetsService.Spreadsheets.Create(requestBody); //// To execute asynchronously in an async method, replace `request.Execute()` as shown: //Data.Spreadsheet response = request.Execute(); //// Data.Spreadsheet response = await request.ExecuteAsync(); //// TODO: Change code below to process the `response` object: //Console.WriteLine(JsonConvert.SerializeObject(response)); //SheetsService sheetsService = new SheetsService(new BaseClientService.Initializer //{ // HttpClientInitializer = GetCredential(), // ApplicationName = "Google-SheetsSample/0.1", //}); //// TODO: Assign values to desired properties of `requestBody`: //Data.Spreadsheet requestBody = new Data.Spreadsheet(); //SpreadsheetsResource.CreateRequest request = sheetsService.Spreadsheets.Create(requestBody); //// To execute asynchronously in an async method, replace `request.Execute()` as shown: ////Data.Spreadsheet response = request.Execute(); // Data.Spreadsheet response = await request.ExecuteAsync(); //// TODO: Change code below to process the `response` object: //Console.WriteLine(JsonConvert.SerializeObject(response)); }