Code: List_Add_InsertRange1.txt
Original Data Source:

  • Dictionary<Tkey, TValue>: based on key.
  • List<T> : accessed by Index
    AddRange Method:
    AddRange adds an entire collection of elements. You can pass any IEnumerable collection to AddRange, and also an array or another List.
  • Queue<T> : FIFO
  • SortedList<Tkey, TValue> : key based sorting
  • Stack<T> : LIFO
Sorted results fromOriginal data source

Unsorted/Default Inserts: