using System.Collections.Generic;
private static int counter;
private static Random rand = new Random();
public int Number { get; private set; }
public int ServiceTime { get; private set; }
ServiceTime = rand.Next(1, 5);
public static void Main()
Queue<Client> clients = new Queue<Client>();
string input = Console.ReadLine();
Client client = new Client();
Console.WriteLine("Client {0} added to queue, Estimaed wait time {1} minutes", client.Number, client.ServiceTime);
else if (input == "next")
Console.WriteLine("No clients");
Client currentClient = new Client();
totalTime += currentClient.ServiceTime;
Console.WriteLine("Client {0} serviced time: {1} minutes", currentClient.Number, currentClient.ServiceTime);
else if(input == "count")
Console.WriteLine("Count of clients is {0}",clients.Count);
Console.WriteLine("Total time is {0}", totalTime + "Minutes");