(from p in table1 join q in table2 on p.userID equals q.userID select p.itemPrice + q.itemPrice).ToList().Sum()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)