示例#1
0
文件: Ceo.cs 项目: Fidan1243/BankTask
 public void addWorker(Worker.Worker resource)
 {
     Worker.Worker[] temp = new Worker.Worker[++WorkerCount];
     if (Workers != null)
     {
         Workers.CopyTo(temp, 0);
     }
     temp[temp.Length - 1] = resource;
     Workers = temp;
 }