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

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

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