Using LINQ, from a List, how can I retrieve a list that contains entries repeated more than once and their values?
List
Linq query:
var query = from s2 in (from s in someList group s by new { s.Column1, s.Column2 } into sg select sg) where s2.Count() > 1 select s2;