C# Tutorial for Beginners : Lists
This is the next part of the C# beginners tutorial series in which I show how to use lists in C#.
A list is a sequential datatype to store any kind of data, but I explain the difference between using an ArrayList for untyped data (object is the type) and how to use the List class from the System.Collections.Generic namespace to work with lists in a type-safe way.
I also show some methods for the lists like add, insert and remove and how to iterate over the items in the list by using a foreach loop.
See my social profiles here
Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com