public static void StudentStatisticsCommand(string command) { var parts = command.Split(' '); if (parts.Length != 2) { Console.WriteLine("Command not valid, Requires Name or All."); return; } var name = parts[1]; GradeBook.CalculateStudentStatistics(name); }
public static void StatisticsCommand() { GradeBook.CalculateStudentStatistics(); }