public partial class Form1 : Form
{
Course[] csharp = new Course[5];
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
Test c1 = new Test("Quiz",
new DateTime(2012, 6, 6), 86);
Test c2 = new Test("Mid-Term",
new DateTime(2012, 5, 6), 90);
Test c3 = new Test("Final",
new DateTime(2012, 4, 6), 87);
Test c4 = new Test("Quiz",
new DateTime(2012, 3, 6), 100);
Test c5 = new Test("Quiz",
new DateTime(2012, 2, 6), 66);
}
}
How do I add my test c5 to my object array csharp? i want to add five tests types to three objects. Pls help I'm on the beginner level.