// Dispose method

        public virtual void Dispose()
        {
            _collection = null;
            _current    = default(T);
            index       = -1;
        }
        // Paramaterized constructor which takes the collection which this enumerator will enumerate

        public BusinessObjectEnumerator(BusinessObjectCollection <T> collection)
        {
            _collection = collection;
            index       = -1;
            _current    = default(T);
        }