I have a class declared in MyRefClass.h
public ref class MyRefClass{
....
....
};
What is the difference between where/how the three objects are allocated and managed?
// This is allocated in **C++/CLI**.
MyRefClass ^mrc = gcnew MyRefClass();
MyRefClass *mrc2 = new MyRefClass;
// If allocated in **C#**
MyRefClass mrc3 = new MyRefClass()
Pardon me if this is too silly a question. I am a total newbie in C# and C++/CLI.