title: c# , Visual studio, pas variable to external class and check/do action
body: <p>I am a newbie at this, so please be kind.</p>
  
  <p>My question is maybe simple for trained programmers but I am not, so here go's.</p>
  
  <p>I have a variable with a value. The value I want to check in a external class.
  According to which value there is will be a action also in the external class</p>
  
  <p>So in form1.cs I have a string value and in checkval.cs and want to handle the string value.</p>
  
  <p>Is there a best way to do this?</p>
  
  <p>many thanks for your answers
  martinus </p>