title: How to get all the TextBox names of a windows form when the name of each TextBox is changing
body: <p>When I run my form, I just want to get the names of all the text boxes of the active form at run time in a label.</p>
  
  <p>I searched a lot but all I found was something in which they haven't changed the names of text boxes. </p>
  
  <pre><code>var allTexboxes = this.Controls.OfType&lt;TextBox&gt;();
  var sortedTextBoxes = allTexboxes
                       .Where(i =&gt; String.IsNullOrEmpty(i.Text))
                       .OrderBy(i =&gt; i.Name)
                       .ToArray();
  </code></pre>