Questions tagged [linq]

Language INtegrated Query (LINQ) is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages.

Filter by
Sorted by
Tagged with
8 votes
3 answers

Implementation of GroupBy<TKey, TElement> in .NET

I've implemented the GroupBy extension method for IEnumerable<T> type as an excersise to deep a little more into LINQ. ...
Oscar Mederos's user avatar
12 votes
4 answers

Calculating totals of a transaction

I am working on a project where I have to calculate the totals of a transaction. Unfortunately, coupons have proven to be quite an issue. There are four types of coupons: transaction percentage, ...
user avatar
9 votes
5 answers

Update grid from source hierarchy

In this question I answered with this Linq. While it does what I was looking for, I am not sure how easy the linq queries are for others to follow. So I am looking for feedback on formating, what ...
Sean Lynch's user avatar
13 votes
4 answers

Counting the number of points that have both a larger theta and a larger radius than a given point

I don't like the fact that I am selecting all the points, even though I only care about the count of them. Which of the from parts should appear first, if it even ...
mjcopple's user avatar
  • 873

9 10 11 12