Closing child froms in MDI form in c sharp
<p>I create new froms with same instant in c sharp button click event. But all have different names. I store those names in an array.</p>

<p>At last i need to close some selected froms in the MDI. How can i do that..?</p>

<pre><code>private List&lt;string&gt; FormName = new List&lt;string&gt;();
private Form newPersonForm = null;
</code></pre>

<p>in click event()  </p>

<pre><code>{
    personId = getFromOutside;
    if(FormName.contains(personId))
    {
        here i need to close the form related to the person id ?
    }
    else
    {
        newPersonForm = new Form();
        newPersonFrom.Name=personId;
        FormName.add(personId);
    }
}
</code></pre>
