/// <summary> /// Returns first free index slot to be used /// </summary> public CollectionIndex GetFreeIndex() { for (byte i = 0; i < Indexes.Length; i++) { if (Indexes[i].IsEmpty) { return(Indexes[i]); } } throw LiteException.IndexLimitExceeded(CollectionName); }