From two sets
var set1 =new int[] { 1, 2, 3 };
var set2 =new int[] { 100, 200, 300 };
How to check index value of elements in set1 and set 2 ? if index value of elements of set1 equals to index value of elements of set2 then i want that pair like
{1,100} ,{2,200},{3,300}.
Some incomplete code
var pairs=from n1 in set1
from n2 in (from num in set2 where ((num1,index)=> );