Both the collections you will learn about in this tutorial are in the System.Collections.Generic namespace. In order to use them and many other different collections you should include the following line at the top of any scripts you wish to use them:
This line is included by default when a new script is created.
Another similarity between both collections is that they are generic classes. Generic classes are ones that include a type as part of their declaration. Generic types are made through the use of angle brackets <> after the name of whatever is using the generic type - in this case the name of the class. Here is an example:
In this example, a new List is being declared. It has been given the generic type int (meaning it will be a list of integers) after the class name List. The generic type is also used as part of the constructor, after the class name but before the parameter list.