Hi, The doc is misleading, method "bool Remove(TK key)" does not return removed element, just the flag indicating whether removal happened or not.
On Wed, May 9, 2018 at 4:06 AM, Raymond Wilson <raymond_wil...@trimble.com> wrote: > I have some code the removes elements from a cache, and I’d like to improve > its performance. > > > > The help for ICache.Remove() states that the element removed will be > returned to the call, and that if the element is not required, then > Removex() should be used to avoid the overhead of returning the element. > > > > In the .Net client Removex() does not appear to be present. > > > > Is there a ticket to have this included in the .Net client? > > > > Thanks, > > Raymond. >