linq.Join

Correlates the elements of two sequences based on a condition.
See Supported Join Types for more information.
Note: This method deviates significantly from the documentation at http://msdn.microsoft.com/en-us/library/bb534675.aspx

Overloads

  • Array Join (array, condition, joinKind)

Array Join (array, condition, joinKind)

Correlates the elements of two sequences based on a condition.

Example

var myArray = [1,3,4,5];
var myArray2 = [1,4,7];
//Returns [ { left: 1, right: 1},
//               { left: 4, right: 4},
//               { left: null, right: 7}]
myArray.Join(myArray2, "(a, b) => a == b", linq.joinKind.right);

Last edited Sep 24, 2011 at 2:59 AM by mlorbetske, version 3

Comments

No comments yet.