IContainer

Restricts elements to one class.

adt/doc/ADT

adt/IContainer.cs

using System.Collections.Generic;
public interface IContainer<T>: IEnumerable<T> {
  T Add (T x);
  T Find (T x);
  T Sub (T x);
  int Count { get; }
}

Cannot alias an open constructed type.