Answer:
var productFirstChar = from P in Products
select P.ProductName[0];
var customerFirstChar = from C in Customers
select C.CompanyName[0];
var commonFirstChar = productFirstChar.Intersect(customerFirstChar );
Asked In: Many Interviews |
Alert Moderator