Advertisement
TeMePyT

Untitled

Jun 1st, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.67 KB | None | 0 0
  1. Interface IPlayHeroes
  2. {
  3. void PlayGame();
  4. }
  5. class LaunchGame:IPlayHeroes
  6. {
  7.      private string _selectHero;
  8.      private string _launchGame;
  9.      void IPlayHeroes.LaucnhGame
  10.      {  
  11.           public string selectHero
  12.           {
  13.                 set
  14.                 {  
  15.                   _selectHero=value;
  16.                 }
  17.           }
  18.           public string launchGame
  19.           {
  20.                 set
  21.                 {
  22.                   _launchGame=value;
  23.                 }
  24.           }
  25.       }
  26. }
  27. class MainClass
  28. {
  29.      static void Main()
  30.      {
  31.          IPlayHeroes play = new LaunchGame();
  32.          play.PlayGame(Ana, Ready)
  33.      }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement