score:1

var neededproductid = temp.groupby(x => x.product_id)
                          .where(x => x.count() > 1)
                          .select(x => x.key)
                          .tolist();

var result = temp.where(x => neededproductid.any(y => y == x.product_id)).tolist();

Related Query

More Query from same tag