Hi, in C++ when I want to loop text in from a text file I use eof
ie.
while (!List.eof())
{
getline (List,line);
_str1 = line;
getline (List,line);
_str2 = line;
}
In C# there isnt a eof which I know of. Any ideas?
Thanks.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 4 of 4
Thread: C# End Of FileThreaded View
|
Click Here to Expand Forum to Full Width |