public string PersonProperty_Add_Succeed(bool isAnd = false, params string[] persons) { PersonProperty property = new PersonProperty(isAnd); foreach (var item in persons) { property.AddPerson(item); } return(property.ToString()); }
public override string ToString() { string allInfo = ($"\n Data of the graduate student:\n {PersonProperty.ToString()}\n Employee position {EmployeePosition}\n Data of the supervisor: {Supervisor}" + $"Form of study {Form}\n learning year {LearningYear}\n List of Articles:\n"); foreach (Article a in ArticlesPublished) { allInfo += a.ToString(); } allInfo += $"Last Article: {LastArticle}\n List of notes:\n";//added output of last article foreach (Notes n in NotesMade) { allInfo += n.ToString(); } return allInfo; }
public string PersonProperty_Structure_Succeed(bool isAnd = false, params string[] persons) { PersonProperty property = new PersonProperty(isAnd, persons); return(property.ToString()); }