+ 2

how to sort a string array alphabetically in C #

the point is sorting some world alphabetically, no problem in array, lists, dictionary, or anything

8th Aug 2020, 8:44 AM
Zinn
Zinn - avatar
4 Réponses
+ 1
use Array.Sort(arrayname)
8th Aug 2020, 10:25 AM
CoderX
0
CoderX thank you very much for your answer, i don't suppose this(Array.Sort) work in string, i think this only work in integer.
8th Aug 2020, 10:37 AM
Zinn
Zinn - avatar
0
finally i can solve my problem, after few days
8th Aug 2020, 10:47 AM
Zinn
Zinn - avatar