Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Interface IPlayHeroes
- {
- void PlayGame();
- }
- class LaunchGame:IPlayHeroes
- {
- private string _selectHero;
- private string _launchGame;
- void IPlayHeroes.LaucnhGame
- {
- public string selectHero
- {
- set
- {
- _selectHero=value;
- }
- }
- public string launchGame
- {
- set
- {
- _launchGame=value;
- }
- }
- }
- }
- class MainClass
- {
- static void Main()
- {
- IPlayHeroes play = new LaunchGame();
- play.PlayGame(Ana, Ready)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement