Yugal Jindle Yugal Jindle - 1 year ago 71
Vb.net Question

How do I reverse a list in VB.NET?

I have:


Function: getClientSheetNames("currMonth") returns a list of String.

I want to select the sheets in reverse order, so I did:


But it gives an error:

getClientSheetNames("currMonth").Reverse() => Expression does not produce a value

What am I doing wrong? How should I correct it?

Answer Source

Have you tried a switcheroo on your calls?