Get General Type of class<T> use Type of Type
<p>I have a General Class named MyGeneralClass:</p>

<pre><code>public MyGeneralClass&lt;T&gt; {

public List&lt;T&gt; Data {get; set;}

}
</code></pre>

<p>also I have another method that I need to use it:</p>

<pre><code>public void GetData(Type type) {



}
</code></pre>

<p>I Use <code>GetData</code>like this:</p>

<pre><code>GetData(typeof(MyGeneralClass&lt;person&gt;));
</code></pre>

<p>So my question is that how can I find type of <code>T</code>, (in this example <code>person</code>) in <code>GetData</code> method, I can't change the parameters of <code>GetData</code> but I can change implementation of that. Does any one have any idea about this?</p>
