C#: Func<T, TResult> for generic methods

Posted by SDReyes on Stack Overflow See other posts from Stack Overflow or by SDReyes
Published on 2010-05-14T16:41:51Z Indexed on 2010/05/14 16:44 UTC
Read the original article Hit count: 199

Filed under:
|
|

It is possible to create a Func object what references a generic method? like the LINQ OrderBy:

public static IOrderedEnumerable<TSource> OrderBy<TSource, TKey>(
    this IEnumerable<TSource> source,
    Func<TSource, TKey> keySelector
)

© Stack Overflow or respective owner

Related posts about c#

Related posts about generics