using System.Collections;
using System.Collections.Generic;
private static int counter;
private static Random rand = new Random();
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, Estimated wait time: {1} minutes", client.Number,client.ServiceTime);
Console.WriteLine("no clients on queue");
Client currentClient = new Client();
totalTime += currentClient.ServiceTime;
Console.WriteLine("Client {0} Served time {1} minutes", currentClient.Number, currentClient.ServiceTime);
else if(input == "count")
Console.WriteLine("Count of clients on queue is {0} ", clients.Count);
Console.WriteLine("Total wait time: {0} ", totalTime + " Minutes");
Console.WriteLine("Invalid command ! ");