List<string> authors = new List<string>(); authors.Add("Mahesh Chand"); authors.Add("Raj Kumar"); authors.Add("Dinesh Beniwal");
List<string> authors = new List<string>{ "Mahesh Chand", "Raj Kumar", "Dinesh Beniwal" };
public class Author { public string Name { get; set; } public string Book { get; set; } public string publisher { get; set;} public Int16 Year { get; set; } public double Price { get; set; } }
List<Author> authors = new List<Author>{