Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
Misc
7.7K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-Collections-Namespace
196+ articles
CSharp-Generic-Namespace
140+ articles
CSharp-data-types
6+ articles
CSharp-Stack-Class
3+ articles
CSharp-HashTable
2+ articles
CSharp-HashSet
1+ articles
CSharp-Generic-Queue
11 posts
Recent Articles
Popular Articles
C# Data Structures
Last Updated: 23 July 2025
Data Structures are an important part of programming language. When we are creating solutions for real-world problems, choosing the right data structure is critical becaus...
read more
C#
CSharp-data-types
CSharp-HashSet
CSharp-HashTable
CSharp-Stack-Class
CSharp-Queue-Class
CSharp-Generic-Queue
CSharp-Generic-List
CSharp-LinkedList
CSharp-Tuple
CSharp-Deque
CSharp-DSA
Getting an object at the beginning of the Queue in C#
Last Updated: 11 July 2025
The Dequeue() method is used to returns the object at the beginning of the Queue. This method is similar to the Peek() Method. The only difference between Dequeue and Peek...
read more
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Generic-Namespace
Getting enumerator that iterates through the Queue in C#
Last Updated: 11 July 2025
QueueT.GetEnumerator Method is used to get an enumerator which can iterate through the Queue. And it comes under the System.Collections.Generic namespace.Syntax:public Sys...
read more
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Generic-Namespace
C# | Queue<T>.TrimExcess Method with Examples
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access to items. When you add an item in the list, it is called...
read more
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Generic-Namespace
C# | Convert Queue To array
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Get the object at the beginning of the Queue - Peek Operation
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Add an object to the end of the Queue - Enqueue Operation
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Generic-Namespace
C# | Create a Queue from another collection
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Get the number of elements contained in the Queue
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Remove all objects from the Queue
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Check if an element is in the Queue
Last Updated: 11 July 2025
Queue represents a first-in, first out collection of object. It is used when you need a first-in, first-out access of items. When you add an item in the list, it is called...
read more
Misc
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace