Convert foreachs to LINQ in Player class