Consider this:...var propertyinfo = typeof(Customer).GetProperty(sortExpressionStr);
Type orderType = propertyinfo.PropertyType;
...now I want to declare ...Func<int,orderType>
...I know its not possible directly since ...ordertype... is at runtime but is...