title: how to dynamically create array of a week days in C#?
body: <p>Instead of specifying
  "string[] week_Days = {"Monday", "Tuesday"...};" </p>
  
  <p>How to dynamically set days as array?</p>
  
  <p>I tried solving it, but couldn't get starting day as "Sunday" -</p>
  
  <pre><code>DateTime days = DateTime.Now;  
  string[] weekDays = new string[7];  
  for (int i = 0; i &lt; weekDays.Length; i++)  
    {  
      weekDays[i] = string.Format("{0:dddd}", days.AddDays(i));  
      Console.WriteLine(weekDays[i]);     
      days = DateTime.Now;  
    }
  </code></pre>
  
  <p>Output -  </p>
  
  <pre><code>Wednesday  
  Thursday  
  Friday  
  Saturday  
  Sunday  
  Monday  
  Tuesday
  </code></pre>