title: count the characters entered into a textbox c#. winforms
body: <p>Fairly simple problem here. I have and if/else statement that i need to run when the textbox length is 3 or 4, as in user enters 12, skips if/else, user types 123, runs if/else. This will all be run through the textbox_textchanged event. </p>
  
  <pre><code>if (fanRPM &gt;= classRPM)
                      {
                          MessageBox.Show("hi");
                      }
                      else if (fanRPM &lt; classRPM)
                      {
                          MessageBox.Show("Hide");
                      }
  </code></pre>
  
  <p>This is my if/else that needs to run. </p>