c list add element

C#
// Create a list  
List<string> AuthorList = new List<string>();  
  
// Add items using Add method   
AuthorList.Add("Mahesh Chand");  
Source

Also in C#: