private static Tuple<string, string> GetFailedPropertyChain(string[] properties, int index) { string parentProperty = index == 0 ? properties[0] : String.Join(".", properties.Take(index)); string childProperty = index == 0 ? "" : properties[index]; return Tuple.Create(parentProperty, childProperty); }