Bonjour
J'ai écrit ce bout de code mais j'obtiens une exception index is outside the bound of the array
merci
J'ai écrit ce bout de code mais j'obtiens une exception index is outside the bound of the array
Code:
1
2
3
4
5
6
Parallel.For(0, 1000, Sub(i)
For j As Int64 = 0 To i
list.Add(i + j) 'l'erreur pointe sur cette ligne
Next
End Sub)
Aucun commentaire:
Enregistrer un commentaire