title: Convert list to string with single quotes
body: <p>I am trying to create a string from List</p>
  
  <p>This is my code</p>
  
  <pre><code> List&lt;string&gt; SelectedSalesmen = new  List&lt;string&gt;();
  </code></pre>
  
  <p>and I am adding selected salesmen from listBox like this</p>
  
  <pre><code>foreach (ListItem lst in lstBoxSalesmen.Items)
              {
                  if (lst.Selected)
                  {
  
                      SelectedSalesmen.Add(lst.Value);
                  }
              }
  </code></pre>
  
  <p>finally I am storing that value to a string like this</p>
  
  <pre><code> string SalesManCode = string.Join(",", SelectedSalesmen.ToArray());
  </code></pre>
  
  <p>But I am getting like this</p>
  
  <pre><code>SLM001,SLM002,SLM003
  </code></pre>
  
  <p>but I need Output like this</p>
  
  <pre><code>'SLM001','SLM002','SLM003'
  </code></pre>