title: How to expose constants from unmanaged C++ to C#
body: <p>Basically I need to expose several constants from unmanaged C++ to my C# library. The following approach works, but I think it smells:</p>
  
  <p>In my unmanaged C++ code:</p>
  
  <pre><code>class Mappings
  {
  public:
      static const int North = 0 ;
      static const int West = 1 ;
      static const int East = 2 ;
      static const int South = 3 ;
  </code></pre>
  
  <p>In my managed C++ layer:</p>
  
  <pre><code>public:
      static const int North = Mappings::North ;
      static const int West = Mappings::West ;
      static const int East = Mappings::East ;
      static const int South = Mappings::South ;
  </code></pre>
  
  <p>Is there a cleaner/shorter way, so that I do not have to duplicate my code twice?</p>