Пример #1
0
 private static void AddingGrades(GradeTracker book)
 {
     book.AddGrade(91);
     book.AddGrade(89);
     book.AddGrade(98);
     book.AddGrade(60);
 }
Пример #2
0
        private static void AddGrades(GradeTracker book)
        {
            book.NameChanged += OnNameChanged;

            book.Name = "Nathan's Grade Book"; //writing a reference to a string into this field
            book.Name = "Grade Book";

            book.AddGrade(91);
            book.AddGrade(89.5f);
            book.AddGrade(75);
        }
Пример #3
0
 private static void AddGrades(GradeTracker book)
 {
     book.AddGrade(100);
     book.AddGrade(95);
     book.AddGrade(60);
 }
Пример #4
0
 private static void AddGrades(GradeTracker book)
 {
     book.AddGrade(91);
     book.AddGrade(89.5f);
     book.AddGrade(75);
 }
Пример #5
0
 private static void AddGrades(GradeTracker Book)
 {
     Book.AddGrade(100);
     Book.AddGrade(50.5f);
     Book.AddGrade(75);
 }