private void setProps(Patient[] mdo) { if (mdo == null) { return; } patients = new PatientTO[mdo.Length]; for (int i = 0; i < mdo.Length; i++) { patients[i] = new PatientTO(mdo[i]); } count = mdo.Length; }