Пример #1
0
        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');
        }
Пример #2
0
        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');
        }
Пример #3
0
 public virtual string ToShortString()
 {
     return(DateStudent.ToString() + '\n' + "Education: " + Education + '\n' + "Group number: " + NamberGrup + '\n' + "Examp" + '\n' + "Average" + Everage + '\n');
 }