System::Collections::Generic::List::Reverse 方法

List::Reverse() method

反转整个列表的元素顺序。

void System::Collections::Generic::List<T>::Reverse()

另见

List::Reverse(int, int) method

反转列表切片的元素顺序。

void System::Collections::Generic::List<T>::Reverse(int index, int count)
参数类型描述
索引int切片起始索引。
countint切片大小。

另见