Query and manipulate data and objects by using LINQ

You are using the following LINQ to Entities query: var query = from p in myContext.Products where p.Price < 50 select p; int numberOfItems = query.Count(); var products = query.ToList(); You are suffering performance problems. How can you improve your query? (Choose all that apply)

Use paging.
Don’t execute ToList() on the query.
Avoid hitting the database multiple times.
Change the query to method syntax.