C# Tutorial List

Add

  1. Add an object to the end of the List in CSharp
  2. Add the elements from another collection to the end of the List in CSharp
  3. Insert a collection the List at the specified index in CSharp
  4. Insert an element into the List at the specified index in CSharp
  1. Binary search sub List for an element with specified comparer and returns the zero-based index in CSharp
  2. Check if the List contains elements that match the conditions defined by the specified predicate in CSharp
  3. Check if user defined element is in the List in CSharp
  4. Search an element for predicate, and returns the last occurrence within List in CSharp
  5. Search an element that matches the predicate, returns index within the range of elements in the sub List in CSharp
  6. Search element by predicate and return the last occurrence within List in CSharp
  7. Search element by predicate and returns based index last occurrence within sub List in CSharp
  8. Search element by predicate, and returns index of last occurrence within sub list in CSharp
  9. Search element for predicate, returns the first occurrence within List in CSharp
  10. Search elements matching specified predicate in CSharp
  11. Search for an element matching the specified predicate, and returns the first occurrence within List in CSharp
  12. Search for an element that matches specified predicate, returns the zero-based index within entire List in CSharp
  13. Search object and returns index of last occurrence within offset List in CSharp
  14. Search object and returns index of the first occurrence within the sub List in CSharp
  15. Search object and returns index of the last occurrence within sub List in CSharp
  16. Search object and returns the zero-based index of the first occurrence within List in CSharp
  17. Search object and returns the zero-based index of the first occurrence within offset List in CSharp
  18. Search object and returns the zero-based index of the last occurrence within List in CSharp
  19. Search sorted List for an element with default comparer and returns the zero-based index of the element in CSharp
  20. Search sorted List for an element with specified comparer and returns the zero-based index of the element in CSharp

Basic

  1. Check if every element in List matches the conditions defined by the specified predicate in CSharp
  2. Do action on each element of the List in CSharp
  3. Get a sub range of elements from List in CSharp
  4. Get or set the element at the specified index in a List in CSharp
  5. Get or set the total number of elements the internal data structure can hold without resizing in CSharp
  6. Get the number of elements contained in the List in CSharp
  7. Set the capacity to the actual number of elements in List in CSharp

Convert

  1. Convert List to array in CSharp
  2. Convert elements in List in CSharp
  3. Convert elements in a List with custom function in CSharp

Copy

  1. Copy List and array, starting at the specified index of the target array in CSharp
  2. Copy List to and array, starting at the beginning of the target array in CSharp
  3. Copy a sub List to an array starting at the specified index of the target array in CSharp

Create

  1. Create List that is empty and has the default initial capacity in CSharp
  2. Create a List from another collection in CSharp
  3. Create a List that is empty and has the specified initial capacity in CSharp
  4. Create a read-only List for the current collection in CSharp

Remove

  1. Remove a range of elements from the List in CSharp
  2. Remove all elements from the List in CSharp
  3. Remove all the elements that match the conditions defined by the specified predicate in CSharp
  4. Remove all with delegate in CSharp
  5. Remove the element at the specified index of the List in CSharp
  6. Remove the first occurrence of a specific object from List in CSharp

Reverse

  1. Reverse the order of the elements in List sub range in CSharp
  2. Reverse the order of the elements in the entire List in CSharp

Sort

  1. Sort List using the specified comparer in CSharp
  2. Sort sub List using the specified comparer in CSharp
  3. Sort the elements in List using the default comparer in CSharp
  4. Sort the elements in List using the specified System.Comparison in CSharp




















Home »
  C# Tutorial »
    Collections »




ArrayList
BitArray
Collection
Comparer
HashSet
Hashtable
LinkedList
List
ListDictionary
OrderedDictionary
Queue
SortedList
SortedSet
Stack
StringCollection
StringDictionary