linq Distinct
生活随笔
收集整理的這篇文章主要介紹了
linq Distinct
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
? private static void D1()
??????? {
??????????? int[] ints = new int[] { 1, 1, 11, 3, 2, 4, 5, 6, 7, 5, 12, 3, 32, 4, 5, 8 };
??????????? var s = ints.Select(o => o).AsEnumerable().Distinct().ToList();
??????? }
轉載于:https://www.cnblogs.com/rayrayray/archive/2012/04/01/2429262.html
總結
以上是生活随笔為你收集整理的linq Distinct的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 几个sql案例
- 下一篇: 移动 Web 设计中的一些错误理念