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
Spencer Long
NA
2
8.4k
Writing from ArrayList to Textfile
Apr 6 2013 9:24 PM
Hi there, this is a method to write text from an Arraylist to a text file.
Any suggestions would be great.
void WriteArrayList() {
using (StreamWriter writer = new StreamWriter("c:\\Hello.txt", true)) {
foreach (Object obj in ActorsArrayList)
{
writer.WriteLine(obj.ToString());
}
foreach (Object obj in ActorsArrayList) {
MessageBox.Show(obj.ToString());
}
Reply
Answers (
1
)
Input from On-Screen Keypad
navigate IE and capture html events By using c#