I have spent hours looking through the archives here and on the web on how to iterate an IGroup that has multiple groupings for VB.Net. There are quite a few solutions for C# but I am really struggling to convert to VB.Net.
Here is my List that I am grouping
dim merge_list As List(Of MergeData)
Here is my code to group by three properties in the List
Dim groups = merge_list.GroupBy(Function(t) New With {Key t.GUID.Category,
Key t.GUID.FeatureType,
Key t.GUID.AssetType}) _
.Where(Function(grp) grp.Count > 1)
Next I try to loop through the groups but since I don't have a type (i.e. dim group As SomeType) for the items in the groups list I don't know how to work with them.
Here is my code to loop through the groups
dim group '===note there is no "As SomeType" for group just 'Dim group'===
For Each group In groups
' since group is not typed I cannot figure out how to work with it
next
Can someone please let me know how to iterate an IGoup with multiple groups using VB.NET?