public void SetUp() { Collection = new IndexedCollection <string, int>(); Collection.SetKeyExpression((item) => { return(item.GetHashCode()); }); }