static void Main(string[] args) { ProductManager productManager = new ProductManager(new InMemoryProductDal()); foreach (var item in productManager.GetAllByCarID(2)) { Console.WriteLine(item.Description); } }