fork(223) download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4.  
  5. public class Test
  6. {
  7. public static void Main()
  8. {
  9. List<string> a1 = new List<string> { "foo", "bar" };
  10. List<string> a2 = new List<string> { "foo", "bar" };
  11. Console.WriteLine(a1.SequenceEqual(a2));
  12. }
  13. }
Success #stdin #stdout 0.04s 37000KB
stdin
Standard input is empty
stdout
True