/// <summary> /// Initializes a new instance of the <see cref="Staff"/> class. /// </summary> /// <param name="s">S.</param> public Staff(Staff s) { mName = s.GetName (); mBuildingNo = s.GetBuildingNo (); mOfficeNo = s.GetOfficeNo (); mEmail = s.GetEmail (); mPhoto = s.GetPhoto (); mPosition = s.GetPosition (); mPhones = new List<string> (); mOrganisations = new List<string> (); for(int i=0; i<s.NumberOfPhones(); i++) { this.AddPhone(s.GetPhoneAt(i)); } for(int i=0; i<s.NumberOfOrganisations(); i++) { this.AddOrganisation(s.GetOrganisationAt(i)); } }