Tracking handles

Hi,
I'm studying C++/CLI programming and I have problems with tracking handles. In some examples an object, such as an array, is created using the keyword 'gcnew':
array<int>^ values = gcnew array<int>(5);
In other examples the keyword 'gcnew' is not used:
array<int>^ values = {3, 5, 6, 8, 6};
I have read many articles about it, but none of them explain exactly when the use of 'gcnew' is necessary.
Can anybody explain me?
Thank you.
This is a C++ forum, so this doesn't really belong here.
You might try the Windows Programming subforum, although technically it has no place anywhere on this forum.
Topic archived. No new replies allowed.