fork(1) download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. List<string> Items = new List<string>() { "One", "Two", "Three", "Four" };
  9. Items.Reverse();
  10. foreach ( string item in Items )
  11. {
  12. Console.WriteLine(item);
  13. }
  14. }
  15. }
Success #stdin #stdout 0.02s 33928KB
stdin
Standard input is empty
stdout
Four
Three
Two
One