List<int> targetCategories = new List<int>(); // Заполняем var p = from с in Cusromers where targetCategories.Contains(с.category);