VB.Net Linq – Group By

Small piece of programming code in vb.net. How to Perform a Group By with LINQ.

Dim Result = From p In Person
                  Group p By MyGroup = New With {
                       Key .Name = p.Name,
                       Key .LastName = p.LastName
                  } Into Group

Leave a Comment

Your email address will not be published. Required fields are marked *