mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-07 23:33:50 +00:00
Update improvements.md
This commit is contained in:
parent
4d4637a917
commit
1fe883005b
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ human.Lose(); // Calls the public implicit implementation.
|
|||
((IGamePlayer)human).Lose(); // Calls the explicit implementation.
|
||||
// Outputs: Implementation for losing a game.
|
||||
|
||||
IGamePlayer player = human as IGamePlayer;
|
||||
IGamePlayer player = human;
|
||||
player.Lose(); // Calls the explicit implementation.
|
||||
// Outputs: Implementation for losing a game.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue