public static Employee ParseLine(String line) { if (String.IsNullOrWhiteSpace(line)) { throw new InvalidOperationException(); } var parts = SplitLine(line); return(new Employee( DateOfBirth.From(parts[2]), new EmailInfo(parts[1], parts[3]) )); }