Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace _1.School
- {
- public class Discipline : IDetails
- {
- private string name;
- private int numberOfLectures;
- private List<Student> students = new List<Student>();
- public Discipline(string name, int numberOfLectures, List<Student> students)
- {
- this.name = name;
- this.numberOfLectures = numberOfLectures;
- this.students = students;
- }
- public string Details
- {
- get
- {
- return this.Details;
- }
- set
- {
- this.Details = value;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement