title: How do I receive input to store as a string in a winforms project in C#?
body: <p>I'm working on a program that asks for input, then calculates and posts the output.</p>
  
  <p>I managed to do it on a console application, but I don't know how to store input from a textbox.</p>
  
  <p>The input has to be positive integers, with an error message in place if anything invalid is input (to prevent crashing).</p>
  
  <p>I plan to have use a button to trigger the calculation and output, but I need to know how to store the input first.</p>