Advertisement
Guest User

Program.cs

a guest
Mar 28th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. namespace Base
  2. {
  3.     class Program
  4.     {
  5.         static void Main(string[] args)
  6.         {
  7.             List<Student> Grop = new List<Student>();
  8.             Grop.Add(new Student("Oleg", "Surochek", 100));
  9.             Grop.Add(new Student("Vasya", "Purojok", 106));
  10.             Grop.Add(new Student("Anastasia", "Antonova", 101));
  11.             Grop.Add(new Student("Jenya", "Uzkih", 120));
  12.             Group gr118 = new Group(Grop);
  13.             Grop.Add(new Student("Jenya", "Uzkih", 104));
  14.             gr118.showgroup();
  15.             gr118.Del("Oleg");
  16.             gr118.showgroup();
  17.             gr118.showstudents();
  18.  
  19.         }
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement