Comment vérifier si la chaîne à partir de la zone de texte existe en dB

// Check for duplicates
bool isDuplicate = ExistingList.Any(r => r.Name == textBox.Name);

 if (isDuplicate)
            {
                MessageBox.Show("Name already Exists");
                return;
            }
Clear Cardinal