private static bool IsStringArray( PropertyInfo pi ) { return pi.PropertyType.IsArray && pi.PropertyType.GetElementType() == typeof(string); }