list class : Reverse() method

Description

Reverses the order of the elements in the entire list.

Syntax

listInstance.Reverse()

Arguments

None

Return value

None

Sample code

//anyList is a instance of list{string} type.

anyList.Reverse();

Notes

It's a wrapper of the System.Collections.Generic.List<t>.Reverse().

Links for reference

Copyright © Rice All rights reserved.