Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
Created January 31, 2014 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naveensrinivasan/8733267 to your computer and use it in GitHub Desktop.
Save naveensrinivasan/8733267 to your computer and use it in GitHub Desktop.
Compare strings
var f = File.ReadAllLines(@"c:\n\Documents\initial.csv").First().Split(',');
var s = File.ReadAllLines(@"c:\n\Documents\second.csv").First().Split(',');
f.Zip(s,(a,b) => a + "-" + b).Dump();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment