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
yokzu
NA
306
0
How can I delete all data in a text file
Jun 27 2011 2:28 AM
Hello,
I'm using the code below for writing text in a text file.
StreamWriter dosya = new StreamWriter("mac.txt");
dosya.WriteLine("first line");
dosya.WriteLine("second line");
dosya.Close();
But I couldnt be able to find, how can I delete all data in this text file?
Reply
Answers (
4
)
How to Return a string representing the hexadecimal value of a number dispalyed in a textbox
Im new in C# and i have done this GUI design. im not sure how to code it. I am begging ro anyonw to see this GUI and help me with it. btw its is a Charator Bit Map Generator.