Я пробую следующее
String ^displayEmail(void){return (^Registration_List[0]);};
Компилятор VC ++ 2010 показывает следующее:
Error 1 error C3192: syntax error : '^' is not a prefix operator (did you mean '*'?) c:\users\marco\desktop\cs351\hw3\project3\CRegistration.h 43 1 Project3
Error 2 error C2440: 'return' : cannot convert from 'System::String' to 'System::String ^' c:\users\marco\desktop\cs351\hw3\project3\CRegistration.h 43 1 Project3