APPGUID:643d4128-1484-4aa1-8c17-38ae3b0cf974
丟棄和打印等行升C
APPGUID:3974af88-1fb1-4ba7-84b9-59aa00c707bb
我想我的程序丟棄包含「APPGUID」一些特定的值作爲上述線路。
我的代碼是在這裏:
IEnumerable<string> textLines
= Directory.GetFiles(@"C:\Users\karansha\Desktop\Unique_Express\", "*.*")
.Select(filePath => File.ReadLines(filePath))
.SelectMany(line => line)
.Where(line => !line.Contains("appGUID: "))
.ToList();
這些APPGUID:<32-digit>串應該被丟棄。 – 2013-03-12 11:47:18
是被丟棄行的* complete *內容嗎?你有沒有收集這些值被丟棄? – 2013-03-12 11:47:59