title: Creating c# array similar to javascript array
body: <p>I am new in C# and would like to know if it's possible to create an array in C# like following:</p>
  
  <pre><code>rates[0]['logic_id'] = 12;
  rates[0]['line_id'] = ""
  rates[0]['rate'] = rateVal;
  rates[0]['changed'] = isChanged;
  
  rates[1]['logic_id'] = 13;
  rates[1]['line_id'] = ""
  rates[1]['rate'] = secvalue;
  rates[1]['changed'] = isChanged;
  </code></pre>
  
  <p>Can I create <code>rates</code> array in <code>C#</code> with such values?</p>
  
  <p>EDIT:</p>
  
  <p>My goal is to send <code>rates</code> array to a specific Web API service that is running with PHP. They accept only array with abovementioned structure. That's why I want to achieve that.</p>