score:2
Accepted answer
var feeds = (
from f in mycontext.tblfeeds
order by f.subscribers.count() descending
select f
).take(5);
Source: stackoverflow.com
Related Query
- Linq2sql Find Top Subscribers Question
- Find top level entities in self referencing table
- How to find the top number between a range given a value from a table using LINQ
- Find the top summed values and take 3
- Find record position in Linq2Sql or Entity framework query
- C# LINQ find duplicates in List
- LINQ query to select top five
- Find an item in a list by LINQ
- Could not find an implementation of the query pattern
- Find index of a value in an array
- How do I find the text within a div in the source of a web page using C#
- Use LINQ to move item to top of list
- LINQ query to find if items in a list are contained in another list
- How to find List has duplicate values in List<string>
- LINQ to find array indexes of a value
- How to find item with max value using linq?
- LINQ - Find all items in one list that aren't in another list
- Find the intersection of two lists in linq?
- Find the intersection of two lists in linq?
- Find items from a list which exist in another list
- Find if listA contains any elements not in listB
- How to use linq to find the minimum
- Linq find all with certain type
- Where can I find the System.Linq.Dynamic dll?
- Linq - Top value from each group
- What is the easiest way to find the LINQ statement for a SQL statement
- Linq Take() question
- Find closest location with longitude and latitude
- How do you use LINQ to find the duplicate of a specific property?
- Find element in List<> that contains a value
More Query from same tag
- How to convert SQL timestamp to a string in Entity Framework?
- Select Distinct records by IDictionary<string,object> property in an object
- First / FirstOrDefault not working as I would expect
- LINQ query to MySQL
- Cast(Of ?) from UIElement
- Remove duplicate strings in list using C# / LinQ but ignore case
- Exception when adding a toList() at the query? (C#)
- Compare two generic Lists
- Linq using how to use order by and group by with left join?
- how to group by parent and apply aggregate function on its childeren in LinQ Lambda
- remove a few items (Id) from results
- Trim string in LINQ C#
- IQueryable Select returns 0 records
- Deserialize JSON to dictionary using LINQ to JSON
- How to pass 2 dates in .Where?
- Add Attribute based on its Parent tag using linq to xml
- LINQ conditional concatenation queries
- How to combine these two LINQ statements?
- The cast to value type 'Decimal' failed because the materialized value is null
- LINQ - Specified cast is not valid with dataview use
- Using index in SelectMany LINQ
- Is LINQ faster or just more convenient?
- DefaultIfEmpty in LINQ
- Getting error while parsing json response from a dynamic {System.RuntimeType} variable
- MVC search a LINQ query
- Linq to XML and XPath nested descendants
- How to distribute assumed data across a population?
- Peta Poco where clause
- Entity Framework - Getting all duplicate Persons
- Seemingly equivalent queries in LINQ and SQL returns different results