Skip to content

Instantly share code, notes, and snippets.

@janus-toendering
Created July 29, 2011 12:54
Show Gist options
  • Save janus-toendering/1113752 to your computer and use it in GitHub Desktop.
Save janus-toendering/1113752 to your computer and use it in GitHub Desktop.
Til Thoooms
var w = from file in Directory.GetFiles(GLS_STATUSFILES, "*.txt")
from line in File.ReadAllLines(file)
let parts = line.Split(new char[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries)
where parts.Length > 1 && parts[1] == orderId
select parts[0];
return w.FirstOrDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment