score:2
why is
orderedenumerable<string, string>
not available
because it is an "internal" impementation of the interface. there is no reason why it should be available or documented. with linq you should program against interfaces (ienumerable<>
, iorderedenumerable<>
, iqueryable<>
...)
if you take a look, all the linq methods return an internal class that derives from one of those interfaces, and often they can return instances of multiple different classes, depending on the input. for example the enumerable.select()
can return a new selectlistiterator<tsource, tresult>
or a selectilistiterator<tsource, tresult>
or a new selectipartitioniterator<tsource, tresult>
or various other classes, depending on the type of the ienumerable<>
input.
Source: stackoverflow.com
Related Query
- Replacing var with type name in Linq query
- How to write LINQ query with column name as parameter still in a type safe way
- Casting to a derived type in a LINQ to Entities query with Table Per Hierarchy inheritance
- LINQ select query with Anonymous type and user Defined type
- LINQ TO SQL, Dynamic query with DATE type fields
- LINQ query with GROUP BY and Count(*) into Anonymous Type
- c# - query nested type with LINQ
- Query expressions over source type 'dynamic' or with a join sequence of type 'dynamic' are not allowed
- Replacing foreach with LINQ query
- add where clauses to linq query with generic column name
- Replacing loops with linq code
- Linq sub query when using a repository pattern with EF code first
- Linq Groupby multiple columns with the same name (An anonymous type cannot have multiple properties with the same name)
- LINQ query to get all entities with member of specified type
- MVC Linq Query with dynamic column name in WHERE clause
- LINQ Query Field<T> with dynamic type
- How to create an anonymous type within linq query with TypeScript
- How to Select top (5) contributors group by Business type code in c# linq query
- Avoiding repeating code with Linq query + optional params
- Linq Query with dynamic type
- Linq build query dynamically with no concrete Type
- Linq query to get the properties from object B which have the same name and type of object A
- CosmosDB Linq query with contains is not of type IDocumentQuery
- how to write a Linq query with a EF code first Many to Many relationship
- LINQ query with GroupBy causing "Unable to create a constant value of type 'System.Object'..."
- Run LINQ query with dynamic table name
- How to query XML with the same element and attribute name using linq
- How To Write Distance LINQ query i have Lat, Long in table with varchar type SQL Server
- LINQ Query to search for users with partial name
- Can someone advise me what wrong with my Type or linq query
More Query from same tag
- How do I grab only the latest Invoice Number
- EF Core how to rewrite the query in a form that can be translated
- Deleting records in LINQ with foreign keys - invalid cast exception
- LINQ EF7 ASP.NET and many-to-many
- PLINQ query giving overflow exception
- help with linq to sql many to many query
- How to write this SQL average query in linq
- Select distinct using linq
- Create groupings using GroupBY
- OrderBy descending in Lambda expression?
- Return function for list of id's
- Getting actual value from a column in SQL BD table via linq
- Nested ForEach loop to Linq
- C# Expression Tree Simple Arithmetic
- Translating SQL Query to Linq for use with Entity Framework
- How can I query using Entity Framework with an alpha-numeric comparison?
- Apply filters if Valid using lambda C#
- How to avoid if else statements in filter API in Linq
- Test sql connect without using System.Data.SqlClient
- C# Lambda? In list of class find highest property (int) where property (character) = 1
- Using Linq to remove from set where key exists in other set?
- Linq conditional statement and next item comparison
- Orderby descending does not work with DateTime
- Passing a list<string> into Linq
- Multiple data query with LINQ
- Create a new List from existing one and group objects
- LINQ Convert Dictionary to Lookup
- Performance difference between Linq Select and ToList
- Left/outer join with linq on c# with where condition clause
- How to update a global variable inside `where` clause in LINQ?