Пример #1
0
        //overriding ToString()

        public override string ToString()
        {
            if (FirstName == null)
            {
                return("[DELETED]".LJ(18));
            }
            return($"{(FirstName + " " + LastName).LJ(18)}{Initials.RJ(4)}{MathAvg.RJ(5)}{SciAvg.RJ(5)}");
        }
Пример #2
0
 public override string ToString()
 {
     if (FirstName == null)
     {
         return("* deleted *".LJ(13));
     }
     return($"{(FirstName + " " + LastName).LJ(13)}: {Initials.RJ(5)}   Math Avg: {MathAvg.RJ(5)}    Sci Avg: {SciAvg.RJ(5)}");
 }