generic method for returning maxId : I would like to have a method that could perform this code on other objects I have (For example: prize, person, team and so on.), so I don't have to write the same code multiple times and just put let's say GetMaxId(List< Person > persons, Person person). 
Each of my objects has an Id property.

    public static int GetMaxId(List<Prize> prizes, Prize prize)
        {
            int maxId = 1;
            if (prizes.Count > 0)
                maxId = prizes.Max(p => p.Id) + 1;

            prize.Id = maxId;
            return prize.Id;
        }
I have tried different things but failed big time :)
I believe there is a simple solution i am not seeing.
Thanks.