Closed neuecc closed 9 years ago
Func<IEnumerable<string>, object> parseArray = xs => { var result = new List<DateTime>(); foreach (var x in xs) { DateTime @out; if (DateTime.TryParse(x, out @out)) result.Add(@out); else return new DateTime[0]; } return result.ToArray(); };