I was wondering how would it be better to implement a system for browsing through a list of strings using the arrow keys? So far I have a populated list with a few test strings added to it like `foo`, `goo`, `hoo` and now I would like to have a textBox where I can browse through them using the up and down arrow keys.

Here is a bit of the code I have:

```
List<String> reload;

private void inputBox_KeyDown(object sender, KeyEventArgs e){
        int x = 0;
        reload.item(x);//this is my bogus guess on how it should be done
            try{
                if (e.KeyCode == Keys.Enter){
                    itemHandler();
                    inputBox.Clear();
                }

                if (e.KeyCode == Keys.Up){
                    inputBox.Text = reload().item(x+1); //again bogus
                    x++;
                }

                if (e.KeyCode == Keys.Down)(
                    inputBox.Text = reload().item(x-1); //again bogus
                    x--;
                }

                else {}
            }

            catch(Exception ex)
            {
                rtbDisplay.AppendText("Error:" + ex );
            }
        }

```