Example:
StreamReader sena = new StreamReader("C:\\paste\\text.txt");
string linha = "";
for (n = 0; n < quant; n++)
{
seq[n] = Convert.ToSingle(linha);
}
Thanks!
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Oct 7, 2010, 8:33 PM EDT
c-sharpcorner having article to read the file in below link
http://www.c-sharpcorner.com/UploadFile/psingh/ReadafileusingCSharp12032005000755AM/ReadafileusingCSharp.aspx