|
-
Mar 24th, 2010, 04:08 PM
#13
Re: Enumerator, What is it?
You can use a StreamReader for that. I used the Using block syntax in my example, which implicitly closes the file at the End Using line. If you don't want to close the file, don't use a Using block and simply don't call the Close method. I assume you know that an open file cannot be accessed by anything else so you should always close the file ultimately.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|