Question: difference between find and where in c#?
Answer: There is a very important difference if the source of the data is Entity Framework: Find will find entities in the 'added' state that are not yet persisted, but Where will not. This is by design. Find is only implemented in List<T> , while Where(). FirstOrDefault() works with all IEnumerable<T> .