示例#1
0
        public void UpdateSV(string MSSV)
        {
            int id = SearchSV(MSSV);

            if (id != -1)
            {
                Console.WriteLine("Input Student  : ");
                SV us = SV.inputSV();
                us.pMSSV = MSSV;
                ls[id]   = us;
                Console.WriteLine("Update Successed !");
            }
            else
            {
                Console.WriteLine("Update Failed !");
            }
        }
示例#2
0
 public void AddSV(SV s)
 {
     this.ls[index] = s;
     this.index++;
 }