Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Human.cs
- namespace Cinema
- {
- internal abstract class Human
- {
- private string Name { get; set; }
- private int Age { get; set; }
- }
- }
- -------------------
- Actor.cs
- namespace Cinema
- {
- internal class Actor : Human
- {
- private List<Film> FilmList { get; set; }
- }
- }
- ---------------------
- FilmMaker.cs
- namespace Cinema
- {
- internal class FilmMaker: Human
- {
- private List<Film> FilmList { get; set; }
- }
- }
- ---------------------------
- Film.cs
- namespace Cinema
- {
- class Film
- {
- private string Name { get; set; }
- private int TimeOfFilmInMinutes { get; set; }
- private FilmMaker FilmMaker{get;set;}
- private List<Actor> ActorList { get; set; }
- private bool IsInRow { get; set; }
- }
- }
- ---------------------------------
- FilmInRow.cs
- namespace Cinema
- {
- class FilmInRow : Film
- {
- private int NumberInRow { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement