I have the following line in VB
Dim Totalstock = (From stock In StockInfo.Record, locs In Location.BranchList Where locs.Key.Item1 = "Deliver" And locs.Key.Item2 = stock.WHLO Select stock).ToArray
which i need to translate to C#. I am used to using the lambda statements in Linq, but with this query I have no idea how to convert it.
Perhaps anyone who could help me out?