dotnet / dotnet/dotnet-api-docs
Returning empty IEnumerable should include skipping the same number of elements source has, not just less than it.
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Typo
### Description
"If source contains fewer than count elements, an empty IEnumerable is returned." should be changed to "If source contains fewer than or equal to count elements, an empty IEnumerable is returned". Because if source had count number of elements and count of them are skipped, the remaining is empty IEnumerable.
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.skip?view=net-9.0
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Linq/Enumerable.xml
### Document Version Independent Id
a67e52ea-8921-5d7f-d316-eecab80668af
### Platform Id
7e01664c-988a-740a-0cea-13ed236ce98b
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.