c# adding to a list

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

Also in C#: