static void Main(string[] args) { IsSuperstar isSuperstar = new IsSuperstar(isSuperStar); List <ManUnited> squad = GenerateList(); ManUnited.SuperStar(squad, x => x.Attribute > 84); Console.ReadLine(); }
public static bool isSuperStar(ManUnited player) { if (player.Attribute > 90) { return(true); } else { return(false); } }