Есть список, но не знаю как определить id студентов и при вызове по id изменить данные студентов, как это можно сделать?
List<Student> students = new List<Student>()
{
new Student(){name = "Daniel", surname ="Page", age =19, kurs = "1", special = "IT"},
new Student(){name = "Kimberly", surname ="Glover", age =18, kurs = "3", special = "IT"},
new Student(){name = "Robert", surname =" Jackson", age =25, kurs = "5", special = "IT"},
new Student(){name = "Sarah", surname ="Thomas", age =19, kurs = "1", special = "IT"},
};