C# in Depth

Cover of C# in Depth
Order now (3rd edition)

Incorrect method signature for Join

Chapter 11: Query expressions and LINQ to Objects: P304, section 11.5.1

Created: 6/14/2011
Last updated: 6/14/2011
Severity: Typo

The method signature for Join is incorrect. The fourth parameter should use TInner rather than Inner, giving a signature like this:

static IEnumerable<TResult> Join<TOuter,TInner,TKey,TResult>(
    this IEnumerable<TOuter> outer,
    IEnumerable<TInner> inner,
    Func<TOuter,TKey> outerKeySelector,
    Func<TInner,TKey> innerKeySelector,
    Func<TOuter,TInner,TResult> resultSelector
)