I want to order a list of my 'SortObject' class. This class is meant to imitate a DataGrid Row by holding arbitrary data organized in a dictionary (na ...
I want to order a list of my 'SortObject' class. This class is meant to imitate a DataGrid Row by holding arbitrary data organized in a dictionary (na ...
I'm trying to use LINQ to sort a ObservableCollection, the problem is the LINQ's methods return a IOrderedEnumerable and there's not method to convert ...
I have a list which is ordered using the OrderBy() Linq function, that returns an IOrderedEnumerable. The ParamName is an object that can hold int ...
If you go here: The IOrderedEnumerableDocs and click on the .Contains() method then it takes you to here: the generalised Enumerable.Contains() docs ...
I put raw data into a generic list. Then, I put data calculated from that raw data into another generic list, this one: The data (both raw and calc ...
I'm absolutely stuck at this error in the conversion of a c# project to vb.net. I know in c# it goes like this But once converted into vb.net i ...
I sorted a dictionary like this: Then I selected an element as such: Then I did some processing on that node and at the end wanted to remove the ...
I have a list of arrays. Each array consists of a score and a difficulty. Read in from a text file. This is how I get the data and order it by the sc ...
so let's say I have an IEnumerable dates and I want to get the dates within a range. Is Linq and IOrderedEnumerable intelligent enough to realize the ...
I want to be able to use syntax similar to the following... There are thousands of examples of how to throw sorted, filtered, etc results into a ...
I currently have a bunch of config files I need to load into an IOrderedEnumerable My current approach looks like so: The problem is, instead of ma ...
In C#, will using Select() to project the elements of an IOrderedEnumerable retain element order? If so, how come it returns an IEnumerable, and n ...
Say there is an extension method to order an IQueryable based on several types of Sorting (i.e. sorting by various properties) designated by a SortMet ...
I'm trying to sort several columns of a table depending of the previous sorted column. It works fine for the first two columns. But as soon as I sort ...
I want to understand how ThenBy works in .Net. (I know how to use it, I just don't understand how Microsoft implemented it!) According to the documen ...
Should IOrderedEnumerable be used as a return type purely for semantic value? For example, when consuming a model in the presentation layer, how can ...
Can it be advantageous for a method to return IOrderedEnumerable instead of IEnumerable? ...
In Linq, extension methods like Where return an IEnumerable collection, but sorting methods like OrderBy return an IOrderedEnumerable collection. So, ...