如果有人能够提供帮助,谢谢,它只会在崩溃后运行,我不知道如何修复它谢谢
{
//DOES NOT WORK YET
foreach (Client c in records)
if (nameBox.Text != c.Name)
{
records.Add(c);
}
else
{
MessageBox.Show("Member Already Exists");
}
}