title: Create multi line string object from string array - C#
body: <p>I am trying to create multi-line string from string array 
  like </p>
  
  <pre><code>@"A minErr message has two parts: 
    the message itself and the url that contains the encoded message.
    The message's parameters can contain other error messages which also include error urls.";
  </code></pre>
  
  <p>and I have string array of these line </p>
  
  <pre><code>string [] miltilines={"A minErr message has two parts:","the message itself and the url that contains the encoded message.","The message's parameters can contain other error messages which also include error urls."}
  </code></pre>
  
  <p>I have tried multiple approaches to get multiline string object but ended with \r\n in string object </p>
  
  <p>1: <code>String.Join(Environment.NewLine, miltilines)</code></p>
  
  <p>2: </p>
  
  <pre><code>string multiline = @" ";
  foreach (var item in miltilines)
              {
                  multiline += @"" + item.Trim() + " ";
              }
  </code></pre>
  
  <p>3: </p>
  
  <pre><code>StringBuilder stringBuilder = new StringBuilder();
   foreach (var item in miltilines)
              {
   stringBuilder.AppendLine(item );
  }
  </code></pre>
  
  <p>Is there any way to get multi line string object from string array</p>