I have a List defined like this :
public List AttachmentURLS;
I am adding items to the list like this:
instructio
The .ToList() should be at last. Because in your code you perform the .ToList() operation earlier and after that again it goes to previous state. The Where method returns an IEnumerable.
.ToList()