array vs.list performance issue
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/454916/performance-of-arrays-vs-lists">Performance of Arrays vs. Lists</a>  </p>
</blockquote>



<p>I want to know which one is better way to do this task.</p>

<pre><code>string[] week = new string[7]
  week[0] = "Sunday";
  week[1] = "Monday";
  week[2] = "Tuesday";

  foreach (string day in week)
   {
     //Some task
   }
</code></pre>

<p>and<br> </p>

<pre><code>List&lt;string&gt; week = new List&lt;string&gt;();
 list.Add("Sunday");
 list.Add("Monday");
 list.Add("Tuesday");

 foreach (string day in list) 
 {
    //Some Task
 }
</code></pre>

<p>Is there any performance issue?Or any other better way.Thanks.</p>
