title: How to add Column header to a ListView in C#
body: <p>i'm having a ListView control with no columns.</p>
  
  <p>an a list </p>
  
  <pre><code>List&lt;String&gt; MyList=new List&lt;string&gt;();
  </code></pre>
  
  <p>i need to create columns for each list <code>MyList</code> item in the <code>ListView</code> along with one another column for Serial Number.</p>
  
  <p>For example if <code>MyList</code> contains <code>"A", "B" ,"C"</code></p>
  
  <p>then the list view will be like</p>
  
  <p><img src="https://i.stack.imgur.com/5ZroL.jpg" alt="alt text"></p>
  
  <p>I know that we can do this using <code>for</code> or <code>foreach</code> loop  like</p>
  
  <pre><code>listView1.Columns.Add("S.No")
  for(int i=0;i&lt;MyList.Count;i++)
     {
        listView1.Columns.Add(MyList[i])
     }
  </code></pre>
  
  <p>but is there any way to do this using <code>LINQ</code> or <code>LAMBDA Expression</code>?</p>