how to create a list in c# unity

C#
List<Datatype> listName = new List<Datatype>();
ex: List<float> myList = new List<float>();
Source

Also in C#: