public Form1() { problems = new practiceproblems[2]; for (int i = 0; i < 2; i++) { problems[i] = new practiceproblems(); } InitializeComponent(); }