title: Most efficient Dictionary<K,V>.ToString() with formatting?
body: <p>What's the most efficient way to convert a Dictionary to a formatted string.</p>
  
  <p>e.g.:</p>
  
  <p>My method:</p>
  
  <pre><code>public string DictToString(Dictionary&lt;string, string&gt; items, string format){
  
      format = String.IsNullOrEmpty(format) ? "{0}='{1}' " : format;
  
      string itemString = "";
      foreach(var item in items){
          itemString = itemString + String.Format(format,item.Key,item.Value);
      }
  
      return itemString;
  }
  </code></pre>
  
  <p>Is there a better/more concise/more efficient way?</p>
  
  <p><em>Note: the Dictionary will have at most 10 items and I'm not committed to using it if another similar "key-value pair" object type exists</em></p>
  
  <p>Also, since I'm returning strings anyhow, what would a generic version look like?</p>