Code:
wchar_t wchar1[] = L"Test";
wchar_t wchar2[8] = {'1','1','1','1','1','1','1','1'};
String^ strHat1 = ref new String(wchar1);
String^ strHat2 = ref new String(wchar2);

const wchar_t* wchar3 = strHat1->Data();
const wchar_t* wchar1 = strHat2->Data();
Regards
Vincent
http://weibo.com/xueyw