Queue<T>
noun
say it: “KYOO” /kjuː/
A C# collection where items leave in the order they arrived: first in, first out.
What is Queue<T> in C#?
Queue<T> — A first-in, first-out collection for values waiting to be processed.
class GuestLine
{
Queue<string> guests = new();
}
In a sentence
- “Orders wait in a Queue<Order> and are packed in the order they came in.”
Level: Freelancer · More C# terms at this level
Updated