public T Dequeue() { if (list.Head == null) { throw new System.Exception("Empty Queue"); } var result = list.DeleteLast(); Count--; return(result); }