C C T B H P N

List.cs, List.txt
Dictionary.cs, Dictionary.txt
Queue.cs, Queue.txt
Stack.cs, Stack.txt
Code folder

Illustrates how to use several of the most important containers in the .Net libraries.

  Demonstrate Collections.Generic.List
 ======================================
  1.5 2 2.5 3 3.5
  value at index 2 is 2.5
  RemoveAt(0)
  2 2.5 3 3.5
  RemoveAt(0)
  2.5 3 3.5
  RemoveAt(0)
  3 3.5
  RemoveAt(0)
  3.5
  RemoveAt(0)
  RemoveAt(0)
  Exception thrown: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

Press any key to continue . . .