Is it possible to set a Generic for a HashSet?
<p>I want to do something like that, if its possible.</p>

<pre><code>internal sealed class BufferPool&lt;T, K&gt; : K&lt;Buffer&lt;T&gt;&gt;
{
    public BufferPool() : base() {}
    //etc...
}
</code></pre>

<p>and then call this class like:</p>

<pre><code>BufferPool&lt;byte, HashSet&gt; buffers;
buffers = new BufferPool&lt;byte, HashSet&gt;(bufferCapacity);
</code></pre>

<p>or</p>

<pre><code>BufferPool&lt;byte, List&gt; buffers;
buffers = new BufferPool&lt;byte, List&gt;(bufferCapacity);
</code></pre>
