title: Concatenate two values with lambda expressions
body: <p>I would like in <code>.ToDictionary()</code> to concatenate both category_code and category_name in to one <em>Value</em>. Right now I'm only sending category_name, but I want category_name + category_code. Is it possible?  </p>
  
  <pre><code>public ActionResult Create()
  {
      Party party = new Party();
      var list = repository.GetCategories()
          .Select(p =&gt; new { p.category_id, p.category_name, p.category_code })
          .AsEnumerable()
          .ToDictionary(m =&gt; m.category_id, m =&gt; m.category_name);
  
      party.categories = new SelectList(list, "Key", "Value", "SelectedValue");
      return View(party);
  }
  </code></pre>