Data Structure
Java
Python
HTML
Interview Preparation
Courses
Tutorials
Practice
Jobs
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
Web Technologies
32.1K+ articles
Misc
7.7K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-Collections-Namespace
196+ articles
CSharp-Generic-List
33+ articles
CSharp-Generic-SortedSet
22+ articles
CSharp-Generic-HashSet
20+ articles
CSharp-LinkedList
19+ articles
CSharp-Generic-Stack
13+ articles
CSharp-Generic-Namespace
140+ posts
Recent Articles
Popular Articles
C# List Implementation
Last Updated: 11 July 2025
In C#, a List is a generic collection used to store the elements or objects in the form of a list defined under System.Collection.Generic namespace. It provides the same f...
read more
C#
CSharp-Generic-List
CSharp-Generic-Namespace
SortedDictionary Implementation in C#
Last Updated: 11 July 2025
In C#, SortedDictionary is a generic collection that is used to store the key/value pairs in the sorted form and the sorting is done on the key. SortedDictionary is define...
read more
C#
CSharp-Generic-Namespace
CSharp SortedDictionary Class
C#
LinkedList in C#
Last Updated: 11 September 2025
A LinkedListT in C# is a doubly linked list that allows fast insertion and deletion of elements at any position. Unlike arrays or lists, it does not use contiguous memory....
read more
C#
CSharp-Collections-Namespace
CSharp-Generic-Namespace
CSharp-LinkedList
SortedSet in C#
Last Updated: 11 September 2025
SortedSetT is a collection of unique elements that are automatically sorted in ascending order by default. It is implemented using a balanced binary search tree (red-black...
read more
C#
CSharp-Generic-SortedSet
CSharp-Generic-Namespace
HashSet in C#
Last Updated: 11 September 2025
A HashSetT is a collection of unique elements. It does not allow duplicates and does not maintain any particular order.Implemented using hash table internally.Provides fas...
read more
C#
CSharp-Generic-HashSet
CSharp-Generic-Namespace
List.FindIndex() Method in C# with Examples
Last Updated: 11 July 2025
ListT.FindIndex Method is used to search for an element that matches the conditions defined by a specified predicate and returns the index of the first occurrence within t...
read more
Technical Scripter
C#
CSharp-method
CSharp-Generic-List
CSharp-Generic-Namespace
Dictionary in C#
Last Updated: 09 September 2025
Dictionary in C# is a generic collection that stores key-value pairs. The working of Dictionary is quite similar to thenon-generic hashtable.The advantage of a Dictionary ...
read more
C#
CSharp-Generic-Namespace
CSharp Dictionary Class
C# SortedDictionary Class
Last Updated: 11 July 2025
In C#, the SortedDictionaryTKey,TValue class represents the collection of key/value pairs. This pair is in sorted form and the sorting is done on the key. This class is de...
read more
C#
CSharp-Generic-Namespace
CSharp SortedDictionary Class
Copying the Queue elements to 1-D Array in C#
Last Updated: 11 July 2025
QueueT.CopyTo(T[], Int32) Method is used to copy the Queue elements to an existing one-dimensional Array, starting at the specified array index. The elements are copied to...
read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
Removing the object from the top of the Stack in C#
Last Updated: 11 July 2025
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 namespace.Syntax:public T Pop ...
read more
C#
CSharp-method
CSharp-Generic-Stack
CSharp-Generic-Namespace
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 an enumerator that iterates through the Stack in C#
Last Updated: 11 July 2025
StackT.GetEnumerator Method is used to get an IEnumerator that iterates through the Stack. And it comes under the System.Collections.Generic namespace.Syntax:public System...
read more
C#
CSharp-method
CSharp-Generic-Stack
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
How to sort a list in C# | List.Sort() Method Set -2
Last Updated: 11 July 2025
ListT.Sort() Method is used to sort the elements or a portion of the elements in the ListT using either the specified or default IComparerT implementation or a provided Co...
read more
Technical Scripter
C#
CSharp-method
CSharp-Generic-List
CSharp-Generic-Namespace
List FindLastIndex() Method in C# | Set -2
Last Updated: 11 July 2025
This method is used to search for an element which matches the conditions defined by a specified predicate and returns the zero-based index of the last occurrence within t...
read more
Technical Scripter
C#
CSharp-method
CSharp-Generic-List
CSharp-Generic-Namespace
1
2
3
4
...
10