0005. C# Lambada 如何Distrince某個欄位資料

ASP.Net MVC 學習筆記

C# Lambada 如何Distrince某個欄位資料


IEnumerable<Customer> filteredList = originalList
  .GroupBy(customer => customer.CustomerId)
  .Select(group => group.First());