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