private void Store(Stream s, Hashtable table) { Utils.WriteInt32(s, table.Count); foreach (DictionaryEntry entry in table) { Utils.WriteString(s, (string) entry.Key); persister.Write(s, (ICacheItem) entry.Value); } }