This class represents a collection of controls that is always empty. Using the Add( ) method will trigger an exception.
public class EmptyControlCollection : ControlCollection { // Public Constructors public EmptyControlCollection(Control owner); // Public Instance Methods public override void Add(Control child); // overrides ControlCollection public override void AddAt(int index, Control child); // overrides ControlCollection }