public virtual Targets[] GetTargetsObjects() { Targets[] array = new Targets[targets.Count]; for (int i = 0; i < targets.Count; i++) { array[i] = Targets.GetInstance(targets[i]); } return(array); }