title: Accessing a variable outside of an 'if' statement
body: <p>How can I make <code>insuranceCost</code> available outside the <code>if</code> statement?</p>
  
  <pre><code>if (this.comboBox5.Text == "Third Party Fire and Theft")
  {
      double insuranceCost = 1;
  }
  </code></pre>