C# remove children added by loop
<p>I am adding children by loop to the Main grid. But how do I remove them? I want to remove only the children I added each time the function was called and then add the new ones.</p>

<pre><code>void flcl_Selection(object sender, MyEventArgs e)
    {
        //remove children here     
        for (int i = 0; i &lt; e.MyFirstString.Count; i ++)
        {
            LabelCountry lbl = new LabelCountry((string)e.MyFirstString[i]);
            MainGrid.Children.Add(lbl);
        }
    }
</code></pre>
