2 using System
.Threading
.Tasks
;
6 public static void Main (string[] args
)
8 var p
= new Program ();
9 p
.LoadPlayers ().Wait ();
14 public Player SelectedPlayer { get; set; }
21 Model model
= new Model ();
23 private async Task
LoadPlayers ()
25 Action
<Player
> selectPlayer
= player
=> { }
;
26 Func
<Action
<Player
>, Action
<Player
>> selector
= functor
=> player
=> {
27 Console
.WriteLine (model
);
30 selector (selectPlayer
);