public static void AssureIsName(string name) { if (IsName(name) == false) { string msg = name + " is not a keyword keywords are /n" + string.Join("\n\t", AllNames.ToArray()); throw new System.Exception(msg); } }
private void button_sort_Click(object sender, EventArgs e) { AllNames.Sort(); Init(AllNames.ToArray()); }