Skip to content
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
Sign In
▲
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
Popular Articles
Recent Articles
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
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 !