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 Person1a
- {
- class Executor
- {
- #region Property
- private Introducable entity;
- public Introducable Entity
- {
- get { return entity; }
- set { entity = value; }
- }
- #endregion
- public Executor(Introducable entity)
- {
- this.entity = entity;
- }
- public void MakeHimSpeak()
- {
- entity.IntroduceYourSelf();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement