ASP.Net MVC 學習筆記
C# Lambada 如何Distrince某個欄位資料
IEnumerable<Customer> filteredList = originalList
.GroupBy(customer => customer.CustomerId)
.Select(group => group.First());
ASP.Net MVC 學習筆記
C# Lambada 如何Distrince某個欄位資料
IEnumerable<Customer> filteredList = originalList
.GroupBy(customer => customer.CustomerId)
.Select(group => group.First());