# Pool<T>(Int32, Func<T>) Constructor Initializes a new instance of the Pool(T) class with the specified pool size and constructor selector. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public Pool( int poolSize, Func constructorSelector ) ``` **F#** ``` F# new : poolSize : int * constructorSelector : Func<'T> -> Pool ``` #### Parameters
  Int32
The size of the pool.
  Func(T)
The constructor selector used to create new instances of T.
## See Also #### Reference Pool(T) Class Pool(T) Overload CapyKit Namespace