这是错误的:
i m 在所有5项定义中都发现这些错误:
error C3698: System::String ^ : cannot use this type as argument of gcnew
error C2512: System::String::String : no appropriate default constructor available
array<String^>^ arr = gcnew array<String^>
{
gcnew String^ "Madam I m Adam.",
gcnew String^ "Don t cry for me,Marge and Tina.", //error C2143: syntax error : missing } before string AND error C2143: syntax error : missing ; before string
gcnew String^ "Lid off a daffodil.",
gcnew String^ "Red lost Soldier.",
gcnew String^ "Cigar? Toss it in a can. It is so tragic."
}