dotnet / dotnet/dotnet-api-docs
"Duplicate" is not defined. Also a typo.
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
In the "Remarks" it says that duplicate elements are not allowed. Unfortunately it does not define "duplicate" - is this "equality" as defined by the comparator (I think this is the case) or (for objects) "equality" using the "is" operator?
In the example, "deligate" should be "delegate"!
One further point - I think the example is far too complex to illustrate the issues. Examples should be short and to the point, They certainly should not rely on the contents of external files - how is one to try them out?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 6fcaf414-0048-fdd4-8ba9-a0b1983de98d
* Version Independent ID: 1f2a5277-4d18-6053-9291-048ed117981b
* Content: [SortedSet<T> Class (System.Collections.Generic)](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.sortedset-1?view=netframework-4.7.2)
* Content Source: [xml/System.Collections.Generic/SortedSet`1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Collections.Generic/SortedSet`1.xml)
* Product: **dotnet-api**
* GitHub Login: @mairaw
* Microsoft Alias: **mairaw**
Contributor guide
Assessment
This issue has not been assessed yet.