public int findIndexByMSSV(int mssv) { foreach (SV i in ListSV) { if (i.MSSV == mssv) { return(ListSV.IndexOf(i)); } } return(-1); }