title: How can i concat a string using lambda expression
body: <p>I have a method that require to add items from a collection in comma separated form.
  For each dressing items i want it's dressing info concatenated in comma separated form and return it as a string. But the way i am doing it fails and say the parameter not correct.</p>
  
  <p>I am trying it like this </p>
  
  <pre><code>private string GetAllFreeItemNames(CategoryType catType)
  {
      if (this.DressingItems != null)
      {
          //var ls = FreeDressingItems;//.FindAll(I =&gt; I. == this.TypeName);
          return string.Join(",", this.DressingItems.Select(I =&gt; I.DressingInfo).ToArray());
      }
  }
  </code></pre>
  
  <p>Could some body please help me with this.</p>