title: How to add radio buttons dynamically in Windows form?
body: <p>I need to add radio buttons dynamically in my windows form and in horizontal mode.
  <a href="https://i.stack.imgur.com/mHfJU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mHfJU.png" alt="Sample"></a></p>
  
  <pre><code>for (int i = 0; i &lt;= r.Count; i++)
  {
  RadioButton rdo = new RadioButton();
  rdo.Name = "id";
  rdo.Text = "Name";
  rdo.ForeColor = Color.Red;
  rdo.Location = new Point(5, 30 );
  this.Controls.Add(rdo);
  }
  </code></pre>