Basic question
do
{
nb = streamreader.ReadBlock(buffer,0,buffer.Length);
Console.WriteLine(buffer);
}while(nb>0);
Why does it print the last buffer twice?
How can I make it so it won't pring the last buffer twice?
Thx

MykonineRank #2,671 · 521 pointsPosted Jan 27, 2005, 8:43 PM EST
examenca19 pointsPosted Jan 27, 2005, 8:49 PM EST
shimtannyRank #3,312 · 434 pointsPosted Jan 27, 2005, 11:41 PM EST
write2jey62 pointsPosted Jan 28, 2005, 9:36 PM EST
examenca19 pointsPosted Jan 28, 2005, 9:54 PM EST
write2jey62 pointsPosted Jan 29, 2005, 12:49 PM EST