-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
25 lines (23 loc) · 869 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using InternshipTest.Person;
using InternshipTest.Institution;
using InternshipTest.Institution.InterLink;
namespace InternshipTest
{
static class Program
{
static void Main(string[] args)
{
var s = new Student("Alex");
University university = new University("CH.U.I.");
university.AddStudent(new Student("Andrew Kostenko", new Knowledge(5)));
university.AddStudent(new Student("Julia Veselkina", 5));
university.AddStudent(new Student("Maria Perechrest", 3));
Internship internship = new Internship("Interlink");
internship.CreatingListOfIntern(university);
Console.WriteLine("List of internship's students:");
Console.WriteLine(internship.GetStudents());
Console.ReadKey();
}
}
}