*I am fairly new to C#, so I'm sorry if this is a simple question*

--

I have a list of stock objects and I am using a for loop to go backwards through the list. Each property of the stock object is set to a textbox to display the value and there is a button that allows the user to cycle through each object, changing the values of the textboxes.

I need to tell if I reach the beginning of the list so that I can deactivate the button that allows the user to go backwards through the list.

**Note** - 
The Count is > 1 because I had to skip the first item in the list.

Here is my code:

```
            if (stockList.Count > 1)
            {

                for (int i = stockList.Count - 1; i >= 0; i--)
                {
                    txtName.Text = stockList[i].Name;
                    numLastPrice.Value = stockList[i].LastPrice;
                    numOpeningPrice.Value = stockList[i].OpeningPrice;
                    numLowPrice.Value = stockList[i].LowPrice;
                    numHighPrice.Value = stockList[i].HighPrice;

                    if (i == ???)
                    {
                        txtName.Text = stockList[i].Name;
                        numLastPrice.Value = stockList[i].LastPrice;
                        numOpeningPrice.Value = stockList[i].OpeningPrice;
                        numLowPrice.Value = stockList[i].LowPrice;
                        numHighPrice.Value = stockList[i].HighPrice;

                        btnBack.Enabled = false;
                    }
                }

```