why the sort result is different with C#

mzfhhhh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 22 01:26:44 PST 2016


i know the reason,C# have several compares methods.
String.Compare , String.CompareOrdinal

//now the output is same as the D code
Array.Sort(arr, string.CompareOrdinal);




More information about the Digitalmars-d-learn mailing list