How to Load type from string directly into linq expression in C# ?

Posted by PaN1C_Showt1Me on Stack Overflow See other posts from Stack Overflow or by PaN1C_Showt1Me
Published on 2010-04-06T12:06:32Z Indexed on 2010/04/06 12:13 UTC
Read the original article Hit count: 248

Filed under:
|
|
|
|

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");

© Stack Overflow or respective owner

Related posts about c#

Related posts about type