Can anyone help me with the array.copy?
I have an array coming in from a text file.
Info is being read in with my str() string array
I then want to copy that array from the third element to the end (seperated by commas). I've also tried the copyTo and can't get that to work either.
Array.Copy(str, gradesArray, 3)
Why do I keep getting this message?
Argument Null Exception was Handled.
Also telling me to use new
the str array has 8 elements in it, I can see them when I hover of the str while debugging so why wouldn't gradesArray be populated the same?
I have an array coming in from a text file.
Info is being read in with my str() string array
I then want to copy that array from the third element to the end (seperated by commas). I've also tried the copyTo and can't get that to work either.
Array.Copy(str, gradesArray, 3)
Why do I keep getting this message?
Argument Null Exception was Handled.
Also telling me to use new
the str array has 8 elements in it, I can see them when I hover of the str while debugging so why wouldn't gradesArray be populated the same?