dotnet / dotnet/dotnet-api-docs
What is "the sort order"?
- Lingua principale
- C#
- Stelle
- 949
- Fork
- 1.7k
- Merge medio
- 3g 27m
- PR unite (30g)
- 49
Descrizione
> indicates whether the current object is before, after, or in the same position as the specified object in the sort order.
What is "the sort order"?
I SUPPOSE (from the example) that the tuples are compared lexicographically?
If yes, might I suggest mentioning this explicitely in the docs?
IMHO it'd be better if the reader wouldn't have to infer such info from the examples or own testing but just read it...
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: fc0ad1e6-8f64-2941-8315-0b6357ec0516
* Version Independent ID: 89251c1d-b7f5-e02d-5132-df55fac76621
* Content: [Tuple<T1,T2>.IComparable.CompareTo(Object) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.tuple-2.system-icomparable-compareto?view=netcore-2.1)
* Content Source: [xml/System/Tuple`2.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Tuple`2.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by opening xml/System/Tuple`2.xml and the linked Tuple.IComparable.CompareTo(Object) page. Check the existing wording against the issue’s question about lexicographic comparison, then update the documentation so “sort order” is explicit; done when a reader can understand it without inferring from examples.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 35/100