dotnet / dotnet/dotnet-api-docs
Storage of sort result
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
After the deferred execution is invoked by calling `GetEnumerator`, does a second call to `GetEnumerator` cause the sort to be re-calculated (picking up any changes to the underlying sequence), or is the result of the first sort reused?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 778faaf9-9b35-44e3-befb-56bc19eae568
* Version Independent ID: c9a682ac-3e9b-a1bd-aa59-b31ae950f9dc
* Content: [Enumerable.OrderBy Method (System.Linq)](https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.orderby?view=netcore-2.1)
* Content Source: [xml/System.Linq/Enumerable.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Linq/Enumerable.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.