i am new to c++/cli, did look up gcnew and gcroot but i am unsure if this is right