Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
Web Technologies
39.3k+ articles
DSA
22.4k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Collections
5 articles
CSharp-Deque
2 articles

CSharp-Collections-Queue

16 posts
C# Queue with Examples
Last Updated: 31 January 2025
A Queue in C# is a collection that follows the First-In-First-Out (FIFO) principle which means elements are processed in the same order they...read more
image
C#
CSharp-Collections-Queue
How to get Synchronize access to the Queue in C#
Last Updated: 18 February 2019
Queue.SyncRoot Property is used to get an object which can be used to synchronize access to the Queue. Queue represents a first-in, first ou ...read more
C#
CSharp-Collections-Namespace
CSharp-Collections-Queue
How to create a Queue in C#
Last Updated: 18 February 2019
Queue() Constructor is used to initializes a new instance of the Queue class which will be empty, and will have the default initial capacity ...read more
C#
CSharp-Collections-Namespace
CSharp-Collections-Queue
Similar Topics
Web Technologies
39.3k+ articles
DSA
22.4k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Collections
5+ articles
CSharp-Deque
2+ articles
Queue.Equals() Method in C#
Last Updated: 28 January 2019
Equals(Object) Method which is inherited from the Object class is used to check if a specified Queue class object is equal to another Queue ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.GetEnumerator Method in C#
Last Updated: 04 February 2019
This method returns an enumerator that iterates through the Queue. And it comes under the System.Collections namespace.Syntax:public virtual ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.CopyTo() Method in C#
Last Updated: 04 February 2019
This method is used to copy the Queue elements to an existing one-dimensional Array, starting at the specified array index. The elements are ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.IsSynchronized Property in C#
Last Updated: 04 February 2019
This property is used get a value which indicates whether access to the Queue is synchronized (thread safe) or not.Syntax:public virtual boo ...read more
C#
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Count Property in C#
Last Updated: 04 February 2019
This property is used to get the number of elements contained in the Queue. Retrieving the value of this property is an O(1) operation and i ...read more
C#
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Dequeue Method in C#
Last Updated: 04 February 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 diff ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Enqueue() Method in C#
Last Updated: 13 April 2021
This method is used to add an object to the end of the Queue. This comes under the System.Collections namespace. The value can null and if t ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.ToArray Method in C#
Last Updated: 04 February 2019
This method is used to copy the Queue elements to a new array. The Queue is not modified and the order of the elements in the new array is t ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Synchronized() Method in C#
Last Updated: 04 February 2019
This method is used to return a new Queue that wraps the original queue and is thread-safe. The wrapper returned by this method locks the qu ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Peek Method in C#
Last Updated: 04 February 2019
This method returns the object at the beginning of the Queue without removing it. This method is similar to the Dequeue method, but Peek doe ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Clear Method in C#
Last Updated: 04 February 2019
This method is used to remove the objects from the Queue. This method is an O(n) operation, where n is the total count of elements. And this ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
Queue.Contains() Method in C#
Last Updated: 05 February 2021
This method is used to check whether an element is in the Queue. This method performs a linear search, therefore, this method is an O(n) ope ...read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Collections-Queue
1 2 >>
Last
1 2 >>
Last
1 2 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox