public static void Add(string searchTerm) { History.Enqueue(searchTerm); if(History.Count > 3) { History.Dequeue(); } } }