Add new item in existing array in c#.net

I would use a List if you need a dynamically sized array:

List<string> ls = new List<string>();
ls.Add("Hello");

Leave a Comment