示例#1
0
 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);
     }
 }
示例#2
0
 private void button_sort_Click(object sender, EventArgs e)
 {
     AllNames.Sort();
     Init(AllNames.ToArray());
 }