title: How to convert C++ Struct with Union into C#?
body: <p>I'm trying to convert this piece of code from C++ to C# or CLI but nothing works till now, may anyone help me please.</p>
  
  <pre><code>ref struct token_t
  {
      TokenTypes_t TokenType;     // enum class
      string       TokenString;    
       typedef  union
      {
          Keyword_t  KeywordID;  // enum class
          char       CharVal;   
          Operator_t OprID;    // enum type
      }; 
  };
  </code></pre>