Example #1
0
        public object SetPoolBorrowReturn()
        {
            var set = SetPool.Borrow <string>();

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

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