title: Can array indexes be named in C#?
body: <p>I'm wondering if the index of an array can be given a name in C# instead of the default index value. What I'm basically looking for is the C# equivalent of the following PHP code:</p>
  
  <pre><code>$array = array(
      "foo" =&gt; "some foo value",
      "bar" =&gt; "some bar value",
  );
  </code></pre>
  
  <p>Cheers.</p>