Accessing a variable outside of an 'if' statement

Viewed 25488

How can I make insuranceCost available outside the if statement?

if (this.comboBox5.Text == "Third Party Fire and Theft")
{
    double insuranceCost = 1;
}
3 Answers
Related