Notes.Select(x => x.Author).Distinct();
This will return a sequence (IEnumerable<string>
) of Author
values — one per unique value.
More Related Contents:
- How to split Fromdate and Todate based on weekdays(Sat,Sun) using linq c#
- IEnumerable vs List – What to Use? How do they work?
- Flatten List in LINQ
- Using LINQ to remove elements from a List
- Check whether an array is a subset of another
- Distinct by property of class with LINQ [duplicate]
- Quickest way to compare two generic lists for differences
- How can I get every nth item from a List?
- Select distinct using linq [duplicate]
- LINQ Select Distinct with Anonymous Types
- Linq select objects in list where exists IN (A,B,C)
- Differences between IQueryable, List, IEnumerator?
- How to get the closest number from a List with LINQ?
- Find the most occurring number in a List
- Does Distinct() method keep original ordering of sequence intact?
- how to check if object already exists in a list
- Conversion from List to array T[]
- C#: How to convert a list of objects to a list of a single property of that object?
- Easiest way to Rotate a List in c#
- Select distinct by two properties in a list
- Count property vs Count() method?
- How to find List has duplicate values in List [duplicate]
- Using Linq Except not Working as I Thought
- How to Quickly Remove Items From a List
- How to use LINQ Distinct() with multiple fields
- List.Except is not working
- Remove duplicate items from list in C#, according to one of their properties
- Sort one list by another
- Sorting a List
- What is the best way to check two List lists for equality in C#