public override string ToString() { string res = ""; int i = 0; if (InformationStudent != null) { while (i < InformationStudent.Length) { res += InformationStudent[i].ToString() + "\n"; i++; } } return(DateStudent.ToString() + '\n' + "Education: " + Education + '\n' + "Group numb: " + NamberGrup + '\n' + res + '\n'); }
public override string ToString() { string resExamp = ""; string resTest = ""; foreach (Examp arr in informatoinExamp) { resExamp += arr + "\n"; } foreach (Test arr in informationTest) { resTest += arr + "\n"; } return(DateStudent.ToString() + '\n' + "Education: " + Education + '\n' + "Group number: " + NamberGrup + '\n' + "Examp" + '\n' + resExamp + '\n' + "Test" + '\n' + resTest + '\n'); }
public virtual string ToShortString() { return(DateStudent.ToString() + '\n' + "Education: " + Education + '\n' + "Group number: " + NamberGrup + '\n' + "Examp" + '\n' + "Average" + Everage + '\n'); }