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; }