Co jest nie tak z moim kodem, skoro daje wyjątek:
NullReferenceException - Object reference not set to an instance of an object.
private List<int>[] connections;
private void Form1_Load(object sender, EventArgs e)
{
this.connections = new List<int>[HamiltonCycle.MAXV];
}
this.connections[this.v].Add(this.w);
Popełniam jakiś szkolny błąd?</b>