public static void Run2(string host) { string logname = ReaderLog.FS_LS; DateTime start_time = new DateTime(2013, 10, 29, 15, 14, 0); List <string> tags = ReaderUtil.ReadTags(host, logname, (fLine) => { DateTime?rec_time = ReaderDecoder.ExtractDateTime(fLine); if (rec_time != null) { if (rec_time.Value > start_time) { return(true); } } return(false); }); foreach (string tag in tags) { Console.WriteLine("Tag: {0}", tag); } }