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
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-Namespace
130+ articles
CSharp-Arrays
53 articles
CSharp-data-types
6 articles
CSharp-HashTable
2 articles
CSharp-Stack-Class
2 articles
CSharp-Queue-Class
2 articles
CSharp-HashSet
1 article
CSharp-Generic-List
34 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
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
How to sort a list in C# | List.Sort() Method Set -2
Last Updated: 22 September 2021
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
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-Namespace
130+ articles
CSharp-Arrays
53+ articles
CSharp-data-types
6+ articles
CSharp-HashTable
2+ articles
CSharp-Stack-Class
2+ articles
CSharp-Queue-Class
2+ articles
CSharp-HashSet
1+ articles
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# | 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# | 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# | Removing a range of elements from the List
Last Updated: 20 June 2022
ListT.RemoveRange(Int32, Int32) Method is used to remove a range of elements from the ListT. Properties of List:It is different from the arr
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Adding the elements of the specified collection to the end of the List
Last Updated: 01 February 2019
ListT.AddRange(IEnumerableT) Method is used to add the elements of the specified collection to the end of the ListT.Properties of List:
...read more
C#
CSharp-method
CSharp-Generic-List
CSharp-Collections-Namespace
CSharp-Generic-Namespace
C# | Gets or Sets the element at the specified index in the List
Last Updated: 01 February 2019
ListT.Item[Int32] Property is used to gets or sets the element at the specified index.Properties of List: It is different from the a
...read more
C#
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# | Removing the specified element from the List
Last Updated: 01 February 2019
List.Remove(T) Method is used to remove the first occurrence of a specific object from the List.Properties of List: It is different from
...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
>>
Last
1
2
3
>>
Last
1
2
3
>>
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 !