Top "Linq-group" questions

Select multiple fields group by and sum

I want to do a query with linq (list of objects) and I really don't know how to do it, …

c# asp.net linq linq-group
Lambda expression Group by in C#

I would like to group my LINQ query by ItemNumber and return the whole table with the total for Quantity. …

c# linq linq-group
List<string> Simple Group and Count?

I have a very simple List<string> setup which contains lots of single characters per item (IE a …

c# linq-group
Use LINQ to concatenate multiple rows into single row (CSV property)

I'm looking for the LINQ equivalent to the Sybase's LIST() or MySQL's group_concat() It'll convert: User Hobby -------------- Bob …

linq csv group-concat linq-group
LINQ - GroupBy a key and then put each grouped item into separate 'buckets'

I have a list of items as such: public class Item { public int ItemId { get; set; } public string ItemName { get; …

c# .net linq linq-group
Linq Grouping by Date (month)

I would like to know how I could group some data by month and sum a field. For example I …

c# linq lambda sum linq-group
Group by Multiple Columns and Count

I have Table1 and Table2 in the form of IEnumerable<DataRow>. Both the tables have columns Column1 and …

linq count left-join linq-group
how to use group by in a linq query?

I have a list of products with productname, productprice & category. I want to write a linq query to group …

c# linq linq-group
Group objects with matching properties into Lists

I have a List of objects in C#. All the objects contain properties code1 and code2 (among other properties). Example: …

c# list object nested-lists linq-group
How does GroupBy in LINQ work?

I originally have a dictionary of <string, List<ProviderSummary>> called rowsDictionary Now for each key of …

c# linq linq-group