C#'ta dinamik bir dizi oluşturmak için herhangi bir yöntem var mı?
Chris ve Migol'un cevabını bir kod örneği ile genişletiyorum.
Dizi kullanma
Student[] array = new Student[2];
array[0] = new Student("bob");
array[1] = new Student("joe");
Genel bir liste kullanmak. Kaputun altında List
List<Student> list = new List<Student>();
list.Add(new Student("bob"));
list.Add(new Student("joe"));
Student joe = list[1];