private static int?ParseApartmentNumber(Match match) { var numGroup = match.Groups[1].ToString(); return(CastUtils.ToNullableInt(numGroup)); }