public GeographicLocationArray(GeographicLocation[] mdo) { if (mdo == null || mdo.Length == 0) { count = 0; return; } locations = new GeographicLocationTO[mdo.Length]; for (int i = 0; i < mdo.Length; i++) { locations[i] = new GeographicLocationTO(mdo[i]); } count = mdo.Length; }