title: Implementing an interface declared in C# from C++/CLI
body: <p>Say I have a C# interface called <code>IMyInterface</code> defined as follows:</p>
  
  <pre><code>// C# code
  public interface IMyInterface
  {
    void Foo(string value);
    string MyProperty { get; }
  }
  </code></pre>
  
  <p>Assume I also have a C++/CLI class, <code>MyConcreteClass</code>, that implements this interface and whose header is declared as follows:</p>
  
  <pre><code>// C++/CLI header file
  ref class MyConcreteClass : IMyInterface
  {
  public:
  
  };
  </code></pre>
  
  <p>How does one implement the method <code>Foo</code> and the property <code>MyProperty</code> in the C++/CLI header?</p>
  
  <p>My attempt results in the following compile error:</p>
  
  <blockquote>
    <p>error C3766: 'MyConcreteClass' must
    provide an implementation for the
    interface method 'void
    IMyInterface::Foo(System::String^
    value)'</p>
  </blockquote>