Exemplo n.º 1
0
 static void Main(string[] args)
 {
     DrivingDirections x = new DrivingDirections();
     string[] a = { "Start on  ", "Turn LEFT on  0123456789 - ", "Turn RIGHT on  0123456789 - ", "Turn LEFT on                                      ", "Turn RIGHT on                                     ", "Turn LEFT on -a0b1c2d3e4f5g6h7i8j9k ", "Turn RIGHT on -A0B1C2D3E4F5G6H7I8J9K ", "Turn LEFT on -", "Turn RIGHT on -" };
     Console.WriteLine(x.reverse(a));
     Console.ReadLine();
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            DrivingDirections x = new DrivingDirections();

            string[] a = { "Start on  ", "Turn LEFT on  0123456789 - ", "Turn RIGHT on  0123456789 - ", "Turn LEFT on                                      ", "Turn RIGHT on                                     ", "Turn LEFT on -a0b1c2d3e4f5g6h7i8j9k ", "Turn RIGHT on -A0B1C2D3E4F5G6H7I8J9K ", "Turn LEFT on -", "Turn RIGHT on -" };
            Console.WriteLine(x.reverse(a));
            Console.ReadLine();
        }