title: Setting Multiple textbox.SelectionStart values, to highlight searched words
body: <p>After importing a text file into my Windows Form Application Rich Text box, I now want to add the search function. Is it possible to have multiple SelectionStart values? The SelectionLength will be the same seeing that its the same word.</p>
  
  <pre><code>        string textfield = TextField.Text;
          string searchword = searchbox.Text;
          int found=0;
          TextField.SelectionLength = searchword.Length;
          TextField.SelectionBackColor = Color.LightBlue;
  
          for (int y = 0; y &lt; textfield.Length; y++)//Goes through whole string
          {
              if (searchword[0] == textfield[y])//Looks for first character
              {
                  for (int x = 0; x &lt; searchword.Length; x++)//Checks if rest of  characters match
                  {
                      if (searchword[x] == textfield[y + x])
                      {
                          found++;
                      }
                      else
                          break;
                  }
              }
  
              if (found == searchword.Length)
              {
                  TextField.SelectionStart = y;//////Want to have multiple of these
              }
              found=0;
          }
          TextField.Focus();
  </code></pre>