I have this code and i want to convert the object to List<Riders>
How can i do that instead of creating a new class with every items?
List<Riders> list_team_riders = new List<Riders>();
object obj = (from rider in frm.list_riders
join rcont in frm.list_ridercontract on rider.PlayerID equals rcont.riderID
where rcont.TeamID == tm.TeamID
select new { rider }).ToList();