Question: what is gcnew in c++?
Answer: 43. gcnew is an operator, just like the new operator, except you don't need to delete anything created with it. It's garbage collected. You use gcnew for creating . Net managed types, and new for creating unmanaged types.