public ref class MyClass { public: MyClass(); virtual ~MyClass(); protected: !MyClass(); private: CMyClass* _CMyClass; };
还有就是这里面的析构函数和C++中的析构函数意义是否相同呢? 是否也需要加上virtual?
闭关修行中......
I have never learned C++. In other languages, it is the last method called after a class is instantiated
I have never learned C++. In other languages, it is the last method called after a class is instantiated