private void button1_Click(object sender, EventArgs e)
{
if (comboBox1.SelectedIndex == 0 && comboBox2.SelectedIndex == 0 && radioButton1.Checked && radioButton3.Checked)
MessageBox.Show("Your Fare is $225");
}
The problem is there will many many if satements incase if there are only 5 citis in combo box. What is the best way to choose different approcach to avoid if satemens.