Ejemplo n.º 1
0
        public object SetPoolBorrowReturn()
        {
            var set = SetPool.Borrow <string>();

            SetPool.Return(set);
            return(set);
        }
Ejemplo n.º 2
0
        public object NewSetPoolBorrowReturnUnionWithStrings()
        {
            var set = SetPool.Borrow <string>();

            set.UnionWith(Strings);
            SetPool.Return(set);
            return(set);
        }