After executing the take(n)linq method on the IQueriable data (initial counter m), the method Count()still returns a value m.
Does the command ToList()execute the only option to get the actual score from IQueryable?
var data = service.Get();
var data2 = data.Take(10);
var count = data2.count();
var count2 = data2.ToList().Count;
mk_yo source
share