fork(1) download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5.  
  6. namespace ProgramConsole
  7. {
  8. public class Program
  9. {
  10. public static void Main(string[] args)
  11. {
  12. List<string> A = new List<string> { "Personal", "Tech", "Social" };
  13. List<string> B = new List<string> { "Personal", "Tech", "General" };
  14.  
  15. var result = A.Except(B).ToList();
  16.  
  17. foreach (var i in result)
  18. {
  19. Console.WriteLine(i);
  20. }
  21. }
  22. }
  23. }
Success #stdin #stdout 0.03s 33960KB
stdin
Standard input is empty
stdout
Social