[Solved] Arrays in visual basic Creating a program that deals with driving distance [closed]

[ad_1]

If the item in the comboboxes correspond to the 2D array you would want to do something like this:

var distance = miles[combotxtDeparture.SelectedIndex, combotxtDestination.SelectedIndex];

[ad_2]

solved Arrays in visual basic Creating a program that deals with driving distance [closed]