Possible Duplicate:
Concat all strings inside a List<string> using LINQ
I am using C# 4.0, where I have a list non-null of string objects.
IList<String> Errors
What I want to do is to create a single string which has all list elements appended, one after another, with a new line character.
public String ErrorMessage
{
get { return Errors.SomeMethodHere(); }
}
One way I could think of is to loop on list of string. Is there any better way or in built System.String or LINQ method which I can use for this?