I am creating a project for school and I have been tasked with the following when creating a button on my form that will Add marks into a simple array:

*"The button (Add) should become disabled after the maximum number of quizzes has been added."*

So far I have figured out that I need to code:
**`btn.Add.Enabled = false`**

*ex.code below*

```
private void btnAdd_Click(object sender, EventArgs e)    
{ 
  btn.Add.Enabled = false
}

```

However, I don't know where I should be declaring it along with the rest of the code that will store the quiz marks from the text box on the form.

Should this be part of the `for loop`? Can I declare it on it's own within the BtnAdd Click event? 

(thanks in advance from the extreme C# newbie)