Guest User

Untitled

a guest
Oct 19th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. string[] mods = System.IO.File.ReadAllLines("mods.txt");
  2. string[] mods_temp = System.IO.File.ReadAllLines("mods_temp.txt");
  3.  
  4. var intersect = mods.Intersect(mods_temp).ToArray();
  5.  
  6. mods = mods.Except(intersect).ToArray();
  7. mods_temp = mods_temp.Except(intersect).ToArray();
  8.  
  9. var mods2 = mods.Except(mods_temp);
  10. var mods_temp2 = mods_temp.Except(mods);
Add Comment
Please, Sign In to add comment