public class SomeClass { private static System.Collections.Generic.List _Instances = new .... public SomeClass() { _Instances.Add(this); } void OnDispose() { _Instances.Remove(this); } }