Reverse does exactly as it says

   
 

using System;
using System.Collections.Generic;
using System.Linq;
public class MainClass {
    public static void Main() {

        int[] numbers = { 10, 9, 8, 7, 6 };

        IEnumerable<int> reversed = numbers.Reverse();    // { 6, 7, 8, 9, 10 }

    }
}

    


This entry was posted in LINQ. Bookmark the permalink.