C# Data Structures
An overview of data structures in C# with examples.
If you need to iterate over a specific size of data that will not grow or shrink and you will not be searching it frequently, use an Array.
If you need to iterate over a set of data that may grow or shrink and you will not be searching it frequently, use a List, Queue (first in, first out), or Stack (last in, first out).
If you need to iterate over a set of data that you will search frequently, use a SkipList.
If you need to store a large Read more [...]