public object Peek(int index = 0) { if (index < 0 || Count <= index) { throw new InvalidOperationException("Noting to peek at."); } return(_storage.FindAtIndex(index) .Value); }
public virtual object this[int index] { get { return(_storage.FindAtIndex(index) .Value); } set { Ring.IndexedLink findResult = _storage.FindAtIndex(index); _storage.IncrementEditVersion(); findResult.RingLink.Value = value; } }