title: C# Linq - Cannot implicitly convert IEnumerable<string> to List<string>
body: <p>I have a List defined like this :</p>
  
  <pre><code>public List&lt;string&gt; AttachmentURLS;
  </code></pre>
  
  <p>I am adding items to the list like this:</p>
  
  <pre><code>instruction.AttachmentURLS = curItem.Attributes["ows_Attachments"].Value.Split(';').ToList().Where(Attachment =&gt; !String.IsNullOrEmpty(Attachment));
  </code></pre>
  
  <p>But I am getting this error: Cannot implicitly convert IEnumerable to List</p>
  
  <p>What am I doing wrong?</p>