Created
July 29, 2011 12:54
-
-
Save janus-toendering/1113752 to your computer and use it in GitHub Desktop.
Til Thoooms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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