//variables that i'm using private string[] info; private int[] signalValues;
//read from file and take out white spaces
info = sourceFile.ReadToEnd().Split(' ');
//converting the info to integer
for (int i = 0; i <= info.Length; i++)
signalValues[i] = Convert.ToInt32(info[i]);
and i'm getting a "Input string not in a correct format" unhandled expection, the numbers in the file are small (3 digits max), please tell me what i'm doing wrong

New Topic/Question
Reply




MultiQuote



|