#include "stdafx.h"
#include
using namespace std;
int main()
{
int nativeArray[10];
array^ managedArray = gcnew array(10);
for (int i = 0; i < 10; i++)
{
nativeArray[i] = i*i;
cout << nativeArray[i] << " ";
managedArray[i] = nativeArray[i];
cout << managedArray[i] << " ";
}
cout << endl;
}