示例#1
0
 public static void AddClass(Class newClass)
 {
     if (Classes.Contains(newClass))
     {
         throw new ArgumentException("The class has already been added.");
     }
     classes.Add(newClass);
 }
示例#2
0
 public static void RemoveClass(Class newClass)
 {
     classes.Remove(newClass);
 }