Skip to content

List.Sort() example should have "Jody" Duplicated in the string[] array. #1875

@MightyPen

Description

@MightyPen

The duplication of "Jody" would add an informative aspect to the code example, showing that this .Sort() successfully handles duplicates.
On StackOverflow, lots of .NET programmers ask about options for something roughly like a SortedList that retains duplicates.
Issue #1874 also concerns this request for two "Jody" values. Thanks. (2019/02/17)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 36bdb60d-fa8f-84c1-6d7d-e17b06096112
  • Version Independent ID: 1dc86b79-6cc3-b1ed-dd07-99559381a82c
  • Content: List<T>.Sort Method (System.Collections.Generic)
  • Content Source: [xml/System.Collections.Generic/List1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Collections.Generic/List1.xml)
  • Product: dotnet-api
  • GitHub Login: @dotnet-bot
  • Microsoft Alias: dotnetcontent

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-enhancementImprove the current contenteasyIssue should be easy to implement, good for first-time contributorshelp wantedGood for community contributors to help [up-for-grabs]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions