this.head = this.tail = null;
public void Enqueue(int key)
Node temp = new Node(key);
this.head = this.tail = temp;
Console.WriteLine("Added first node " + tail.val);
public static void Main()
int count = Convert.ToInt32(Console.ReadLine());
for(int i=0; i < count; i++)