title: C# dynamic ExpandoObject Array
body: <p>please tell me, how do I get the json like this:</p>
  
  <pre><code>    dynamic packet = new ExpandoObject();
      packet.type = "somethink";
      packet.user = 12345;
  
      packet.nets[0].amout = 123;
      packet.nets[0].lower = 0;
      packet.nets[1].amout = 345;
      packet.nets[1].lower = 1;
      string input = Newtonsoft.Json.JsonConvert.SerializeObject(packet);
  </code></pre>
  
  <p>Its not workig, error:
  An unhandled exception of type "Microsoft.CSharp.RuntimeBinder.RuntimeBinderException" in System.Core.dll</p>
  
  <p>For more information: "System.Dynamic.ExpandoObject" does not contain definitions of "nets"</p>
  
  <p>Thanks.</p>