/// <summary> /// Initializes a new instance of the <see cref="IndexBasedDynamicCollection{T}" /> class. /// </summary> public IndexBasedDynamicCollection() { _list = new UnsafeList <T?>(10); _objectIndices = new Dictionary <T, int>(); _lockObject = new object(); }