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.3k+ articles
Experiences
17k+ articles
Interview Experiences
13.9k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
Stack
420+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Generic-Namespace
130+ articles

CSharp-Generic-Stack

13 posts
Copying the Queue elements to 1-D Array in C#
Last Updated: 28 January 2019
QueueT.CopyTo(T[], Int32) Method is used to copy the Queue elements to an existing one-dimensional Array, starting at the specified array in ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
Removing the object from the top of the Stack in C#
Last Updated: 28 January 2019
StackT.Pop Method is used to remove and returns the object at the top of the StackT. This method comes under the System.Collections.Generic ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
Getting an enumerator that iterates through the Stack in C#
Last Updated: 28 January 2019
StackT.GetEnumerator Method is used to get an IEnumerator that iterates through the Stack. And it comes under the System.Collections.Generic ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
Similar Topics
Web Technologies
39.3k+ articles
DSA
22.4k+ articles
Python
20.3k+ articles
Experiences
17k+ articles
Interview Experiences
13.9k+ articles
C#
1.8k+ articles
CSharp-method
680+ articles
Stack
420+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Generic-Namespace
130+ articles
C# | Stack<T>.TrimExcess Method with Examples
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access to items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
C# | Copy the Stack to an Array
Last Updated: 01 February 2019
StackT.CopyTo(T[], Int32) Method is used to copy the StackT to an existing 1-D Array which starts from the specified array index.Properties: ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
C# | Insert an object at the top of the Stack - Push Operation
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access of items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
C# | Convert Stack to array
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access of items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
C# | Create a Stack from a collection
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access to items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Get the number of elements contained in the Stack
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. StackT.Count Property is used to gets the number of elements contained in the S ...read more
C#
CSharp-Generic-Stack
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Check if a Stack contains an element
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. StackT.Contains(Object) Method is used to check whether an element is in the St ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Remove all objects from the Stack
Last Updated: 07 December 2018
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access to items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Get object at the top of the Stack - Peek operation
Last Updated: 01 February 2019
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access to items. When you add an i ...read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Collections-Namespace
CSharp-Generic-Namespace
Implementing Stack in C#
Last Updated: 30 October 2018
Stack is a linear data structure. It follows LIFO(Last In First Out) pattern for Input/output. Following three basic operations are performe ...read more
Stack
C#
CSharp-Generic-Stack
CSharp-Generic-Namespace
DSA
1
1
1
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