Why is there IndexOutOfRange exception being thrown? The index is set to iterate through 0 to the List.Count... I'll post my code below.
public void ShowButtons()
{
Appliances = data.GetAppliances();
for (int x = 0; x <= Appliances.Count; x++)
{
appButtons[x] = new Button();
appButtons[x].Size = new System.Drawing.Size(75, 25);
appButtons[x].Text = Appliances[x].Name;
ButtonBoard.Controls.Add(appButtons[x]);
}
}