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
GfG 160: Daily DSA
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
C#
1.9k+ articles
CSharp-method
680+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Generic-List
34 articles
CSharp-Generic-SortedSet
22 articles
CSharp-Generic-HashSet
20 articles
CSharp-LinkedList
19 articles
CSharp SortedDictionary Class
14 articles
CSharp-LinkedList-Methods
13 articles
CSharp-Generic-Stack
13 articles
CSharp-Generic-Namespace
130+ posts
Popular Articles
Recent Articles
C# List Implementation
Last Updated: 31 January 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 na
...read more
C#
CSharp-Generic-List
CSharp-Generic-Namespace
C# HashSet
Last Updated: 31 January 2025
HashSet in C# is an unordered collection of unique elements. This collection is introduced in.NET 3.5. It supports the implementation of set
...read more
C#
CSharp-Generic-HashSet
CSharp-Generic-Namespace
List.FindIndex() Method in C# with Examples
Last Updated: 19 July 2024
ListT.FindIndex Method is used to search for an element that matches the conditions defined by a specified predicate and returns the index o
...read more
Technical Scripter
C#
CSharp-method
CSharp-Generic-List
CSharp-Generic-Namespace
Similar Topics
C#
1.9k+ articles
CSharp-method
680+ articles
CSharp-Collections-Namespace
180+ articles
CSharp-Generic-List
34+ articles
CSharp-Generic-SortedSet
22+ articles
CSharp-Generic-HashSet
20+ articles
CSharp-LinkedList
19+ articles
CSharp SortedDictionary Class
14+ articles
CSharp-LinkedList-Methods
13+ articles
CSharp-Generic-Stack
13+ articles
C# Dictionary
Last Updated: 31 January 2025
Dictionary in C# is a generic collection that stores key-value pairs. The working of Dictionary is quite similar to thenon-generic hashtable
...read more
C#
CSharp-Generic-Namespace
How to sort a list in C# | List.Sort() Method Set -1
Last Updated: 12 February 2019
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
...read more
C#
CSharp-method
Picked
CSharp-Generic-List
CSharp-Generic-Namespace
C# | Dictionary.ContainsKey() Method
Last Updated: 01 February 2019
This method is used to check whether the DictionaryTKey,TValue contains the specified key or not.Syntax:public bool ContainsKey (TKey key);H
...read more
C#
CSharp-method
CSharp-Generic-Namespace
CSharp Dictionary Class
C# | Dictionary.Add() Method
Last Updated: 01 February 2019
DictionaryTKey,TValue.Add() Method is used to add a specified key and value to the dictionary. Syntax:public void Add (TKey key, TValue valu
...read more
C#
CSharp-method
CSharp-Generic-Namespace
CSharp Dictionary Class
C# | Check if two List objects are equal
Last Updated: 27 January 2019
Equals(Object) Method which is inherited from the Object class is used to check if a specified ListT object is equal to another ListT object
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Generic-Namespace
C# List Class
Last Updated: 21 April 2025
In C#, the ListT class represents the list of objects that can be accessed by index. It comes under the System.Collections.Generic namespa
...read more
C#
CSharp-Generic-List
CSharp-Generic-Namespace
C# HashSet Class
Last Updated: 31 January 2025
In C#, a HashSetT class is an unordered collection of unique elements. It comes under System.Collections.Generic namespace. It is used in a
...read more
C#
CSharp-Generic-HashSet
CSharp-Generic-Namespace
C# | Remove all elements of a List that match the conditions defined by the predicate
Last Updated: 01 February 2019
ListT.RemoveAll(PredicateT) Method is used to remove all the elements that match the conditions defined by the specified predicate.Propertie
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | How to get all elements of a List that match the conditions specified by the predicate
Last Updated: 30 August 2022
ListT.FindAll(PredicateT) Method is used to get all the elements that match the conditions defined by the specified predicate. Properties of
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | How to check whether a List contains a specified element
Last Updated: 20 June 2022
ListT.Contains(T) Method is used to check whether an element is in the ListT or not. Properties of List:It is different from the arrays. A l
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Adding an element to the List
Last Updated: 01 February 2019
List.Add(T) Method is used to add an object to the end of the List.Properties of List: It is different from the arrays. A list can be re
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Count the total number of elements in the List
Last Updated: 01 February 2019
List class represents the list of objects which can be accessed by index. It comes under the System.Collection.Generic namespace. List class
...read more
C#
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !