private string GetNoteName() { string noteName = DefaultNoteName; if (NoteList.Any(x => x.NoteName == noteName)) { return(GetNoteName()); } return(noteName); }