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
Than Ice
NA
5
654
Streamwriter output doesnt work Any Idea?
Dec 22 2015 12:22 AM
public void EditorialResponse(string filename, string word, string replace, string newfile)
{
StreamReader reader = new StreamReader("C\\:MyFile\\Story");
string input = reader.ReadToEnd();
using (StreamWriter writer = new StreamWriter("C\\:MyFile\\Story1", true)
{
string output = input.Replace("lol", "lel");
writer.Write(output);
writer.Close();
}
}
Reply
Answers (
4
)
How to print the array having values in the matrix form?
string