Content deleted Content added
Fixed up a grammatical error and added suggestion to use try/finally |
→C#: comments style |
||
Line 80:
namespace IVSR.DesignPatern.Objectpool
{
/
// or that has limited availability, so is to be held in the object pool. public class PooledObject
{
Line 93 ⟶ 94:
}
/
// pooled objects, maintaining a list of available objects and a collection of objects that have already been
// requested from the pool and are still in use. The pool also ensures that objects that have been released
// are returned to a suitable state, ready for the next time they are requested.
public static class Pool
{
|