private bool StringPropertyHasChanged(string newVal, string oldVal) { if (newVal == oldVal) return false; if (newVal != null && newVal.Length > 0) return true; if (oldVal != null && oldVal.Length > 0) return true; return false; }