I can not understand the meaning of the MSDN document for this surcharge, in which case there are two arguments Estimated, represents the indicator of the source element, whatever it means (I thought that a calculation was a sequence and you are not able to see more than the next item, very few are not indexing it).
Can someone please explain the use of this surcharge, and in particular the fun that is for int and how is it used?
int parameter current running current within Indicates the item's indicator whenever you call one of the LINQ expansion methods, you do not guarantee in principle to achieve returning objects in the same sequence, but you know that they are all one Times are returned and indexes can be appointed
Example:
If you know If the query object is a list , then you are guaranteed. var results 1 = myEnumerable.Where ((item, index) => index & lt; 4); Var result 2 = myEnumerable.Take (4); // Results 1 and Results are equivalent 2.
Comments
Post a Comment