I need to write an interface in Visual C++, what will be used in C# project. I need to use out parameter in C#, how will i make C++ signature?
C++ code like
public interface class Iface
{
public:
System::Object^ Method([out] bool there);
};
and C# must be
public class TestObj : Library.Iface
{
object Library.Iface.Method(out bool there)
{
there = true;
return null;
}
}
How will i write my C++ interface?