Get duplicates for two columns with LINQ
问题 LINQ drives me crazy. Why does following query not return the duplicates, whereas it works with only one identifier? Where is my error? ' generate some test-data ' Dim source As New DataTable source.Columns.Add(New DataColumn("RowNumber", GetType(Int32))) source.Columns.Add(New DataColumn("Value1", GetType(Int32))) source.Columns.Add(New DataColumn("Value2", GetType(Int32))) source.Columns.Add(New DataColumn("Text", GetType(String))) Dim rnd As New Random() For i As Int32 = 1 To 100 Dim