What's the equivalent in C++/CLI of this:
class Explicit : IClonable
{
void IClonable.Clone()
{
}
}
class Implicit : IClonable
{
public void Clone()
{
}
}
What's the equivalent in C++/CLI of this:
class Explicit : IClonable
{
void IClonable.Clone()
{
}
}
class Implicit : IClonable
{
public void Clone()
{
}
}
As nobugz says, you can't explicitly implement IDisposable.
So, assuming that the title of your question is accurate, and you want to have explicit implementation of interface members (or explicit overrides which are supported in C++/CLI but I don't think are possible in C#, C++/CLI also provides more flexibility to override multiple v-table slots with the same function), see: