Using Expression.Call with Queryable.Select with a type known only at runtime
问题 I am trying to select a column from an IEnumerable collection that has a type known only to me at runtime. The only way I can think of using this is using LINQ expressions to build a dynamic call to Queryable.Select . However, I'm having a lot of trouble figuring out the proper syntax to accomplish this. An example of how I would do this in the happy-go-lucky world of knowing everything I need at compile time, my code would look like this: ' Create an IEnumerable(Of String) Dim strings = {