An Example Calling the Reverse Operator : Reverse « LINQ « C# / CSharp Tutorial






using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MainClass {
    public static void Main() {
        string[] presidents = {"lore", "Truman", "Tailer", "Van", "Washington", "Wilson"};

        IEnumerable<string> items = presidents.Reverse();

        foreach (string item in items)
            Console.WriteLine(item);
    }
}








22.61.Reverse
22.61.1.Reverse does exactly as it says
22.61.2.An Example Calling the Reverse Operator
22.61.3.Get all reversed cars