array of a class, add item c# code example
Example 1: c# add object to array
Array.Resize(ref objArray, objArray.Length + 1);
objArray[objArray.Length - 1] = new Someobject();
Example 2: add item to an array c#
List l = new List(){"one","two","tree","four",};