I cannot seen to find out the purpose of the ^
in a C# method call.
For example:
SomeObject::somemethod(ObjArg^ arg)
{
// method body
}
What is the effect of the ^
?
I cannot seen to find out the purpose of the ^
in a C# method call.
For example:
SomeObject::somemethod(ObjArg^ arg)
{
// method body
}
What is the effect of the ^
?
This is not C#. This is C++/CLI. The ^
is the Handle to Object Operator. It is used here to indicate that arg
is a handle to a managed class of type ObjArg
.