Summary

Completed

In this module, you learned how to organize related data using C#'s two most fundamental collection types.

You used arrays to store a fixed-size sequence of items and access them by index, and List<T> collections to store a resizable sequence of items and add, remove, or update them as your program runs. You compared the two and learned when each is the better fit for a problem.

Tip

To continue learning C#, move on to the next module: Call methods from the .NET Class Library using C#.