title: Given a string with day of week, return integer
body: <p>Is there a way to have something like:</p>
  
  <pre><code>string day = "Sunday";
  int num = getDayOfWeek(day); //returns 0
  </code></pre>
  
  <p>I understand we could something like, and I wanted the reverse:</p>
  
  <pre><code>int num = 0;
  
  //returns "Sunday"
  return System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.DayNames[(int)num]; 
  </code></pre>
  
  <p>The easiest way would probably be to implement a dictionary that does what I am asking, but I wonder if there is something in <code>C#</code> <code>DateTime</code> functions that already does so for me.</p>
  
  <p>EDIT:</p>
  
  <p>As Jon Skeet pointed out, it would be ideal that the answer supported different cultures days (<em>e.g</em>. "Sunday" in English, "Segunda" in Portuguese...)</p>