TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sam
NA
166
0
Load text file to memory, read by lines
Oct 21 2010 3:39 PM
Hi,
A simple basic question:
I have an application in which I read ocasunally lines from a text file.
I currently use StreamReader and LoadLine() in a loop to call.
My problem is that I do not want to keep the file open all the time, and therefroe I wish to load the file bulk to memory and close the file, and then read lines from memory, (like the Readline()).
Please advise.
Sam
Reply
Answers (
2
)
How To Get Control Events in Custom Control Back To Parent Form
C# as opposed to XAML