Reputation: 341
How do I convert CLI array to String^ ?
This is my example:
int main(array<String^>^ args)
{
Application::Run(gcnew Main_Form(args));
return 0;
}
Main_Form(array<String^> ^params)
{
if (params->Length > 0)
{
String^ start_param;
//how do i convert the array to normal String^ ?
}
}
Upvotes: 1
Views: 1270
Reputation: 341
After a year I found it out myself :)
String^ start_param = String::Concat(params);
Upvotes: 1