fork(1) download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. int[] array = {1, 2, 3, 4, 5};
  9. if(array.Contains(5))
  10. {
  11. Console.WriteLine("Array has an element called 5");
  12. }
  13. }
  14. }
Success #stdin #stdout 0.02s 33904KB
stdin
Standard input is empty
stdout
Array has an element called 5