This C# console application provides various functionalities for managing student groups and their grades. It uses the Student and Group classes to store and manipulate the data.
The Program class is the entry point for the console application. It contains a Main method which is responsible for executing the application and displaying the menu to the user.
The Student class represents a single student with their ID, name, and a list of grades. It contains a constructor to initialize the properties and an overridden ToString method to display the details of a student.
The Group class represents a group of students with a group number, group name, and a list of students. It also contains an overridden ToString method to display the details of a group.
The Main method initializes a list of groups with sample data and displays a menu to the user with the following options:
Matrix after sorting: Prints the matrix of all students and their grades sorted in ascending order of their names.
All groups in list of groups: Prints the details of all the groups and their students.
The group with the higher number of students who has no grades at all: Prints the group details with the highest number of students who have no grades.
All Student order by id without duplications: Prints the details of all the students ordered by their ID without any duplicates.
The Student with the higher number of grades above 100: Prints the details of the student with the highest number of grades above 100.
How many insensitive different student's by names: Prints the number of students with unique names (case-insensitive).
How many grades for each Student by name insensitive: Prints the number of grades for each student (case-insensitive).
To Exit: Exits the application.
The user can select any option by entering the corresponding number. Once an option is selected, the program performs the corresponding functionality and displays the result to the user.
To run the application, open the solution in Visual Studio and run the program. The console application will display the menu options, and the user can select any option to perform the corresponding functionality.