title: C++ Header implementing a C# Interface
body: <p>It is possible to generate a C++ header file from a C# interface?</p>
  
  <p>Example:</p>
  
  <h3>C# Interface:</h3>
  
  <pre><code>public interface A { 
      void M( ushort u ); 
  }
  </code></pre>
  
  <h3>C++ header:</h3>
  
  <pre><code>public ref class B : A 
  { 
      void M( unsigned short u ); 
  }
  </code></pre>
  
  <p>Returns "Error C3766".</p>