title: Dictionary Keys and Values to a Select List
body: <pre><code>Dictionary&lt;string,string&gt; dict = new Dictionary&lt;string,string&gt;();    
    dict.add("a1", "Car");
    dict.add("a2", "Van");
    dict.add("a3", "Bus");
  </code></pre>
  
  <hr>
  
  <pre><code>SelectList SelectList = new SelectList((IEnumerable)mylist, "ID", "Name", selectedValue);
  </code></pre>
  
  <p>In above code I have put a list <code>mylist</code> to a <code>SelectList</code>. <code>ID</code> and <code>Name</code> are two properties of that particular object <code>list(mylist)</code>.</p>
  
  <p>Likewise I need to add the Dictionary to the <code>SelectList.</code></p>
  
  <hr>
  
  <p>Need to add the key of the dictionary to the <code>data Value</code> parameter -(<code>ID</code> position of above example)
  Need to add the value of the dictionary to the <code>data text</code> parameter -(<code>Name</code> position of the above example)</p>
  
  <p>So please tell me a way to create a select list using this dictionary keys and values without creating a new class.</p>