Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
C#
1.9K+ articles
CSharp-method
699+ articles
CSharp-Collections-Namespace
190+ articles
CSharp-Generic-Namespace
140+ articles
CSharp-Generic-List
34+ articles
CSharp-data-types
6+ articles
CSharp-HashTable
2+ articles
CSharp-Stack-Class
2+ articles
CSharp-Queue-Class
2+ articles
CSharp-HashSet
1+ articles
CSharp-Generic-Queue
11 posts
Recent Articles
Popular Articles
C# Data Structures
Last Updated: 28 April 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 enumerator that iterates through the Queue in C#
Last Updated: 28 January 2019
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
Getting an object at the beginning of the Queue in C#
Last Updated: 28 January 2019
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
C# | Queue<T>.TrimExcess Method with Examples
Last Updated: 01 February 2019
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# | Add an object to the end of the Queue - Enqueue Operation
Last Updated: 01 February 2019
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
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Generic-Namespace
C# | Convert Queue To array
Last Updated: 01 February 2019
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
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: 01 February 2019
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
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Get the number of elements contained in the Queue
Last Updated: 01 February 2019
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
C#
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Remove all objects from the Queue
Last Updated: 01 February 2019
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
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Create a Queue from another collection
Last Updated: 01 February 2019
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
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Check if an element is in the Queue
Last Updated: 01 February 2019
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
C#
CSharp-method
CSharp-Generic-Queue
CSharp-Collections-Namespace
CSharp-Generic-Namespace
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !