How could i add to this code in order to make a menu where i press a number and it goes onto the next part
for example:
1 - Browse Auction
2 - List Auction
3 - Listed Auctions
4 - Exit
class Program
{
static void Main(string[] args)
{
string input;
Console.WriteLine("Please enter a username");
input = Console.ReadLine();
if (input == "John")
if (input != "John")
error();
Console.WriteLine("Please enter a password");
input = Console.ReadLine();
if (input == "Smith")
menu();
if (input != "Smith")
error();
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment