I have IQueryable<> object.
IQueryable<>
I want to Convert it into List<> with selected columns like new { ID = s.ID, Name = s.Name }<
List<>
new { ID = s.ID, Name = s.Name }<
The List class's constructor can convert an IQueryable for you:
public static List ToList(this IQueryable source) { return new List(source); }
or you can just convert it without the extension method, of course:
var list = new List(queryable);