public void Clear() { if (disposeListener != null) { disposeListener(); } disposeListener = null; if (count > 0) { Array.Clear(list, 0, count); count = 0; } NodeBase.Clear(); }