/queque

Queue class in C# with basic procedures

Primary LanguageC#

queque

Queue class in C# with basic procedures

The class implemented:

  1. removing an element from the head;
  2. adding an element to the tail;
  3. identification of "queue full" and "queue empty" situations;
  4. output of queue items to the console.

RUS: Класс "очередь" на C# с базовыми процедурами

В классе реализовано:

  1. удаление элемента с головы;
  2. добавление элемента в хвост;
  3. идентификация ситуаций "очеpедь полна" и "очеpедь пуста";
  4. вывод элементов очереди на консоль.