title: Replicating PHP's array of arrays and inside it array of array in c#
body: <p>I have written a piece of code in PHP which basically looks like this:</p>
  
  <pre><code>$order = array( 
  '0' =&gt; array( 
  'user_order_sn' =&gt; '123', 
  'country' =&gt; 'some', 
  'firstname' =&gt; '123', 
  'lastname' =&gt; '123', 
  'addressline1' =&gt; 'AFDAFAF', 
  'addressline2' =&gt; '', 
  'shipping_method' =&gt; '123', 
  'tel' =&gt; '551245', 
  'state' =&gt; '4444', 
  'city' =&gt; '55r', 
  'zip' =&gt; '1004451', 
  'order_remark' =&gt; 'test', 
  'order_platforms' =&gt; 3, 
  'original_order_id' =&gt; '7126216', 
  'original_account' =&gt; '51251251', 
  'original_order_amount' =&gt; 2.57, 
  'goods_info' =&gt; array( 0 =&gt; array( 'goods_sn' =&gt; '6544321', 'goods_number' =&gt; 4
  )
  ),
  ),
  );
  </code></pre>
  
  <p>So as you can see order variable is array of arrays which contains a variable goods_info which also array of array inside it.</p>
  
  <p>I would like to replicate this in c#. I suspect I need to use jagged arrays here, but I'm not 100% sure how to do that. I created a class for starters which contain all the info above:</p>
  
  <pre><code>  public class CreateOrderDataRequest
      {
          public string user_order_sn { get; set; }
          public string country { get; set; }
  
          public string firstname { get; set; }
          public string lastname { get; set; }
  
          public string addressline1 { get; set; }
  
          public string addressline2 { get; set; }
          public string shipping_method { get; set; }
          public string tel { get; set; }
          public string state { get; set; }
          public string city { get; set; }
          public string zip { get; set; }
  
          public string order_remark { get; set; }
          public string order_platforms { get; set; }
          public string original_order_id { get; set; }
  
          public string original_account { get; set; }
          public string original_order_amount { get; set; }
      }
  </code></pre>
  
  <p>Can someone help me out to finish this ? :) </p>
  
  <p>P.S. I haven't finished the goods_info part because I'm not sure how to do that ...</p>