title: How to declare array of strings with string index?
body: <p>In my code i declared like this :</p>
  
  <pre><code>public string[] s ;
  </code></pre>
  
  <p>and i need to use this string like this :</p>
  
  <pre><code>s["Matthew"]="Has a dog";
  s["John"]="Has a car";
  </code></pre>
  
  <p>when i use s["Matthew"] an error appears and it says "Cannot implicitly convert 'string' to 'int'" . 
  How can I make a string array to have string index ?
  if i write this in php it works :</p>
  
  <pre><code>array() a;
  a["Mathew"]="Is a boy";
  </code></pre>
  
  <p>I need it to work also in asp.net !</p>