We generally add multiple conditions in Where expression separating with &&(||).
Suppose, if I stack multiple where conditions is there any difference in performance?
For example:
Is this line
dbContext.Students.Where(s=> s.Section = 5 && s.Marks >50).ToList();
Similar to
dbContext.Students.Where(s=>s.Section = 5).Where(s=>s.Marks > 50).ToList();
Note: Above line is possible as Where returns IQueryable which inturn has Where.