How to Load type from string directly into linq expression in C# ?
- by PaN1C_Showt1Me
This is the definition:
public static IEnumerable<TResult> OfType<TResult>(this IEnumerable source);
How to replace TResult with something like:
Type.GetType("MyClass from assembly");