A very simple question but one I cannot find documentation to purely because searching for ^ in c# returns irrelevant results. PS. I've never worked with c# before and this world is completely new to me.
I am working on C++ managed code which contains c# to interface with an external application. I found variable definitions (like IElement^% oElement
) all over the place. Initially, I thought the '^' operator meant that I was defining a pointer but looking at pointer definition in ms docs shows that is not true. Removing the ^ operator (for ex.) gives me the following intellisense error ->
"IntelliSense: a variable cannot have a C++/CLI interface class type"
Looking up the c++/cli interface gives some information on the type of code framework I'm working on but didn't mention what those symbols do. So, what do the symbols ^ and % do in this context?
Edit: Question topic changed from c# to C++/CLI