I have an array like this. ReadLines is the array:
I have managed to create a file(file5.txt) under c:\\Code:array<System::String^>^ ReadLines = gcnew array<System::String^> ( textBox2->Lines->Length ); ReadLines = textBox2->Lines; System::String ^ Name1 = textBox3->Text; StreamWriter File = gcnew FileStream("C:\\file5.txt", FileMode::Append);
What I want to do now is to put all the content from the array into a this .txt file under c:\\ .
Also instead for the name file5.txt, I want this name to be what is written in textBox2.