Example:
StreamReader sena = new StreamReader("C:\\paste\\text.txt");
string linha = "";
for (n = 0; n < quant; n++)
{
seq[n] = Convert.ToSingle(linha);
}
Thanks!
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Gomathi PalaniswamyPosted Oct 8, 2010, 12:33 AM
c-sharpcorner having article to read the file in below link
http://www.c-sharpcorner.com/UploadFile/psingh/ReadafileusingCSharp12032005000755AM/ReadafileusingCSharp.aspx