public void Set(CacheByKey rhs) { foreach (string k in rhs.Keys) { Set(k, rhs.Get(k)); } }
public object Get(int id) { return(cache.Contains(id) ? cache.Get(id) : null); }