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];
solved Arrays in visual basic Creating a program that deals with driving distance [closed]