title: How would I model a .proto file that results in the following C# Class?
body: <pre><code>syntax = &quot;proto3&quot;
  
  message ResponseDto {
     map&lt;string, FirstDictionary&gt; FD = 1;
  }
  
  message FirstDictionary {
     map&lt;string, SecondDictionary&gt; SD = 1;
  }
  ...etc
  
  </code></pre>
  <p>Note: Example output after running protoc</p>
  <p>The problem is that I cant seem to generate a suitable class without having to explicitly include a property for the nested dictionaries</p>
  <pre><code>public class ResponseDto : Dictionary&lt;string, FirstDictionary&gt;
  {
  
  }
  
  public class FirstDictionary : Dictionary&lt;string, SecondDictionary&gt;
  {
  
  }
  
  public class SecondDictionary
  {
      public bool SomeFlag { get; set; }
      public Dictionary&lt;string, SomeClass&gt; SomeProp { get; set; } 
  }
  
  public class SomeClass
  {
      public bool SomeOtherFlag { get; set; }
  }
  </code></pre>