The console doesn't write the items in the list. I am trying to add input from user to a list then write to the screen. So once i add input to the list i would want it to print to the screen.
ArrayList list = new ArrayList();
switch (userInput)
{
case "Add":
{
Console.WriteLine("Enter Fullname: ");
Console.ReadLine();
list.Add(Console.ReadLine());
display();
break;
}
case "List":
{
foreach (string item in list)
{
Console.WriteLine(item);
}
display();
break;
}
}