var data = (from item in collection
            select ).Distinct()

      Csharp language logoCreates a LINQ Distinct sentence

      C# recipes

      The Distinct() method would return a collection of objects that have been selected, but not duplicated, from the collection.

      Shortcut: linq_distinct

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.