List isn’t an efficient data structure when it comes to removal. You would do better to use a double linked list (LinkedList) as removal simply requires reference updates in the adjacent entries.
More Related Contents:
- Count property vs Count() method?
- Compare Two Lists Via One Property Using LINQ
- How to split Fromdate and Todate based on weekdays(Sat,Sun) using linq c#
- Convert List to List
- IEnumerable vs List – What to Use? How do they work?
- Flatten List in LINQ
- Using LINQ to remove elements from a List
- Check whether an array is a subset of another
- Sort a list from another list IDs
- How to create List of open generic type of class?
- Quickest way to compare two generic lists for differences
- Combination of List
- Select distinct using linq [duplicate]
- Inheriting from List
- How to check if IEnumerable is null or empty?
- How to easily initialize a list of Tuples?
- Differences between IQueryable, List, IEnumerator?
- How to get the closest number from a List with LINQ?
- Find the most occurring number in a List
- how to check if object already exists in a list
- Conversion from List to array T[]
- LINQ to find series of consecutive numbers
- Check for any element that exists in two collections
- C#: How to convert a list of objects to a list of a single property of that object?
- Get a list of distinct values in List
- Using Linq Except not Working as I Thought
- C# List – Removing items while looping / iterating [duplicate]
- Return max repeated item in list
- Sorting a List
- What is the best way to check two List lists for equality in C#