select A.ID,B.TestName from sampleTable A join TestTable b on A.ID<>B.ID
sampleTable.Join(TestTable,(k=>k.ID),(k=>k.ID),(s,t)=> new { ID= s.ID, TestName= t.TestName}).ToList();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)