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;
- namespace OOP6
- {
- class Program
- {
- static void Main(string[] args)
- {
- Human stoyan = new Human("Stoyan", 52);
- Student svetoslav = new Student("Svetoslav", 20, 1234);
- Athlete evgeni = new Athlete("Evgeni", 20, "Futbol");
- Console.WriteLine("My facial expression: {0}", evgeni.AreYouHappy());
- Console.WriteLine("My facial expression: ", stoyan.AreYouHappy());
- stoyan.IntroduceYourSelf();
- svetoslav.IntroduceYourSelf();
- evgeni.IntroduceYourSelf();
- Manager manager = new Manager(svetoslav);
- manager.MakeHimSpeak();
- Console.WriteLine(Human.counter);
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment