更新时间:2023-02-05 15:37:54
最简单的方法是对它们进行排序(升序)然后再发现它们。 br />
ArrayList.Sort方法(System.Collections) ) [ ^ ]和 ArrayList.Reverse方法(System.Collections) [ ^ ]在这方面可以帮到你。
以下内容应该有所帮助 -
The easiest way can be to sort them (ascending) and then revese them.
ArrayList.Sort Method (System.Collections)[^] and ArrayList.Reverse Method (System.Collections)[^] can help you in this regard.
Something like following should help -
availableTags.Sort();
availableTags.Reverse();
参考: https://www.dotnetperls.com/arraylist [ ^ ]
希望,它有帮助:)
Reference: https://www.dotnetperls.com/arraylist[^]
Hope, it helps :)