Select method in List Collection

后端 未结 5 1636
温柔的废话
温柔的废话 2021-01-30 15:57

I have an asp.net application, and now I am using datasets for data manipulation. I recently started to convert this dataset to a List collection. But, in some places it doesn\'

5条回答
  •  滥情空心
    2021-01-30 16:40

    I have used a script but to make a join, maybe I can help you

    string Email = String.Join(", ", Emails.Where(i => i.Email != "").Select(i => i.Email).Distinct());
    

提交回复
热议问题