String array to a file?

sathya.cs

Active member
Joined
May 24, 2009
Messages
31
Programming Experience
Beginner
How to save a string array to file like writing a RichTextBox to a File? and How to Read that?
 
If you want to save a String array to a file then call IO.File.WriteAllLines.
If you want to read a file into a String array then call IO.File.ReadAllLines.
If you want to save the contents of a RichTextBox to a file then call RichTextBox.SaveFile.
If you want to read a file into a RichTextBox then call RichTextBox.LoadFile.
 
Back
Top