//Prompts the user to enter an ID, Description, and Pack Size for the item being added to the list. //Displays a message if the item was successfully added to the list. //Displays a message if the item was NOT successfully added to the list. public Int32 UserAddWine(WineItem[] wineItems, Int32 location) { Console.Clear(); Console.WriteLine("Enter the ID you wish to add to the wine directory: "); Console.WriteLine(); String temp1 = Console.ReadLine(); Console.WriteLine(); Console.WriteLine("Enter the Description you wish to add to the wine directory: "); Console.WriteLine(); String temp2 = Console.ReadLine(); Console.WriteLine(); Console.WriteLine("Enter the Pack Size you wish to add to the wine directory: "); Console.WriteLine(); String temp3 = Console.ReadLine(); Console.WriteLine(); if (temp1 != "" && temp2 != "" && temp3 != "") { String[] Temp = { temp1, temp2, temp3 }; CSVProcessor.AddToArray(wineItems, location, Temp); Console.WriteLine("Your item has been successfully added to the wine directory!"); Console.WriteLine(); location++; } else { Console.WriteLine("There seems to be an issue with adding your item to the wine directory."); Console.WriteLine(); } return(location); }