private static string EnsureValidString(string value) { if (String.IsNullOrEmpty(value)) { return null; } return value; }