Linq IN Operator December 31, 2023 by Tarik Try the following code: return g.Customers.Where(x => customerCodesArray.Contains(x.customerCode)).ToList();