Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to use C# interface properly?
- IBattleNetSettings MyInterface;
- MyInterface.Username = "MyUsername";
- BattleNetClient cs = new BattleNetClient(MyInterface);
- IBattleNetSettings settings = new BattleNetSettings();
- public class BattleNetSettings : IBattleNetSettings
- {
- public string Username { get; set; }
- // etc...
- }
- IBattleNetSettings MyInterface = new BattleNetSettings();
- MyInterface.Username = "MyUsername";
- BattleNetClient cs = new BattleNetClient(MyInterface);
Add Comment
Please, Sign In to add comment