I cant figure this out. I have googling all examples of this but cant find anything that I can understand.
I dont really understand the first logic of what is needed to do. All that an array should be needed in any way and this array is called: cli::array. What is the difference with a cli::array and an array.
Following a msdn example and trying to do something, I have done this:
Code:
folderBrowserDialog1->ShowDialog();
System::String ^ files3 = folderBrowserDialog1->SelectedPath;
List<String ^> ^files4 = gcnew List<String ^>;
List = System::IO::Directory::GetFiles(files3,"*.txt");
this->textBox1->Text = List;
So the only thing I can think of what I am doing is to create a List Array of String ^ type where I will put all .txt files in. So later when write List = System::IO etc... files3 will be saved in this List with correct file type, string ^ so this later will be put in the textBox1.
So any point in the right direction would be needed I think.