fork 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> lsta = new List<String>() { "estilo.css", "ada.asp", "ede.asp" };
  10. List<String> lstb = new List<String>() { "kkk.asp","odo.asp", "ada.asp", "ede.asp" };
  11.  
  12. var resultado = lsta.Except(lstb);
  13.  
  14. foreach (var item in resultado)
  15. {
  16. Console.WriteLine(item);
  17. }
  18. }
  19. }
Success #stdin #stdout 0.06s 24056KB
stdin
Standard input is empty
stdout
estilo.css