Is it IEnumerable
. As far as I know, the reference always points to a class instance. What instance type does the LINQ query really point to?
Depending on your original data source, it is either IEnumerable or IQueryable:
The result of a Linq database query is typically IQueryable
If your database query includes an OrderBy clause, the type is IOrderedQueryable
If your data source is an IEnumerable, the result type is IEnumerable