title: C# | How Do I Select a Word in a TextBox by Cursor Location?
body: <p>In a Windows Form, using C#, how do I select (as in, actually highlight the text, making it accessible to the .SelectedText property) a word based on the cursor location?</p>
  
  <p>Here's what I'm trying to do. I have a textbox that users can currently select a word by highlighting it. They can then perform various actions to the word, but I want to make it simpler. </p>
  
  <p>I wish to make it so they can simple put the cursor inside the word and the app will select the word the cursor is inside of.</p>
  
  <p>Thanks in advance!</p>