Collections > Collections Assembly Interfaces > IQueue
The IQueue interface contains properties and methods that are used to work with a queue of elements.
IQueue
Principle of queue operation is First in - First out. Elements are always added to the end of a queue.
Property name | Brief description | |
![]() |
Count | The Count property returns the number of array elements. |
Method name | Brief description | |
![]() |
Clear | The Clear method clears the queue. |
![]() |
Clone | The Clone method creates a copy of the queue. |
![]() |
Contains | The Contains method checks if an element exists. |
![]() |
Dequeue | The Dequeue method extracts value of the element from the queue. |
![]() |
Enqueue | The Enqueue method places the element into the queue. |
![]() |
Peek | The Peek method extracts value of the queue without removing the element. |
![]() |
ToArray | The ToArray method converts the queue into a standard array. |
Method name | Brief description | |
![]() |
CopyTo | The CopyTo method copies the collection into an array. |
See also: