-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Linq
Description
Type of issue
Code doesn't work
Description
The documentation of Max(IEnumerable<Nullable<Int32>>) states in the Remarks section that: If the source sequence is empty or contains only values that are null, this function returns null.
However Array.Empty<int>().Sum() returns 0 (zero)... (not null as stated)
Page URL
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Linq/Enumerable.xml
Document Version Independent Id
422bf5c0-9b03-1bed-adbf-d4c3b375815d
Article author
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Linq