what is the difference between list and ienumerable?
One important difference between IEnumerable and List (besides one being an interface and the other being a concrete class) is that IEnumerable is read-only and List is not. ... So in your practical example, if you wanted to add the four strings one at a time, you'd need List.