private static string PropertyValue(string value, string defaultValue) { return String.IsNullOrEmpty(value) ? defaultValue : value; } }