title: need an example of a get and set
body: <p>Can you give an example of how to use the get and set? I need to call the get method in my code but inorder to do that it needs to be set first by evaluating it everytime.</p>
  
  <p>Ex:</p>
  
  <pre><code>private static string _formatStr = Product == "test" ? "something": "other";
  public static string GetFormatStr
  
  {
  
  get { return _formatStr; }
  
  }
  </code></pre>
  
  <p>So I need this to be set before I call the get method everytime. Call set first and then call get. </p>