Hello,
As a C++ programmer I've recently started to work with visual c++. I've get stuck with the properties.
The idea is to create an inner class that would have 2 methods plus property like get/set functions. Does it even possible in visual C++ (i guess yes).
The usage would be like this:
Foo ^ foo = gcnew Foo();
int a;
foo->Method(); // here some function is called
a = foo; // here the property like get() function is called.
I've even tried to do this with operator overload, but it seems that it is much more complicated in visual c++, than in "normal" c++.
MJ