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
Matt Donnelly
NA
4
1.8k
closing StreamReader
Apr 15 2015 4:51 PM
private void Motorbike_Load(object sender, EventArgs e)
{
string line;
var file = new System.IO.StreamReader("C:\\Temp\\mybikes.xml");
while ((line = file.ReadToEnd()) != null)
{
listBike.Items.Add(line);
}
How do i close the StreamRead once it has finished getting the information
and putting it into the listbox
Reply
Answers (
3
)
rdlc background image problem
how value type are related with object class??