how to add to a list c#

C#
var list = new List<string>();
list.Add("Hello");//Declaring that its a list
List<string> test = new List<string>(); 
test.Add("Hello")
Source

Also in C#: