public bool TryGetValue(TKey key, out TValue value) { if (linkedDictionary.TryGetValue(key, out value)) { linkedDictionary.Remove(key); linkedDictionary.AddFirst(key, value); return(true); } return(false); }
public bool TryGetValue(TKey key, out TValue value) { return(linkedDictionary.TryGetValue(key, out value)); }