fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. object[] array = {1, '2', 3, ("We", "Must"), "stop", ("th", 'i', 's'), ('s', 'h', 'i', 'e', 'e', 't')};
  8.  
  9. foreach (var elem in array) {
  10. Console.WriteLine(elem);
  11. }
  12. }
  13. }
Success #stdin #stdout 0.02s 16132KB
stdin
Standard input is empty
stdout
1
2
3
(We, Must)
stop
(th, i, s)
(s, h, i, e, e, t)