public List <SV> Update(SV s) { int i = 0; for (; i < listSV.Count; i++) { if (listSV[i].mssv == s.mssv) { listSV[i].name = s.name; listSV[i].birthday = s.birthday; listSV[i].address = s.address; listSV[i].gender = s.gender; } } return(this.listSV); }
public List <SV> AddSV(SV s) { listSV.Add(s); return(this.listSV); }