You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
488 B

using System;
namespace productlist
{
class MainClass
{
public static void Main (string[] args)
{
Console.WriteLine ("Welcome to the Product List");
UI.inputType type = UI.promptForCommand ();
switch (type) {
case UI.inputType.create:
Product.fromPrompt ();
break;
case UI.inputType.list:
Storage.List ();
break;
case UI.inputType.dump:
Storage.dump ();
break;
case UI.inputType.load:
Storage.load ();
break;
}
}
}
}