Creates a LINQ Distinct sentence

    0

    1

    lucycodes42

    C# recipes

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

    Shortcut: linq_distinct

    var data = (from item in collection
          select ).Distinct()
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.