public async Task StartGame() { Player[] players = await _playerFactory.CreateRandomPlayer(5); #if DEBUG ///<remarks>This is only here so that I can debug the object array I'm working with.</remarks> Console.Write($"{JsonConvert.SerializeObject(players, Formatting.Indented)}"); Console.ReadKey(); #endif }