title: how to swap keys into values and values into key in a dictionary
body: <p>guys i want to swap the keys and values in dictionary</p>
  
  <p>my dictionary loook like this</p>
  
  <pre><code>public static void Main(string[] args)
  {
  Dictionary&lt;int,int&gt; dic = new Dictionary&lt;int,int&gt;{{1,10}, {2, 20}, {3, 30}};
  }
  </code></pre>
  
  <p>now iam printing the values form dictionary</p>
  
  <pre><code> foreach (KeyValuePair&lt;int, int&gt; kvp in dic)
  {
  
      Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
              Console.ReadKey();
  }
  </code></pre>
  
  <p>in display i got this</p>
  
  <pre><code>Key = 1, Value = 10
  Key = 2, Value = 20
  Key = 3, Value = 30
  </code></pre>
  
  <p>i want to swap values between key and value.. after swapping the answer should be like this</p>
  
  <pre><code>Key = 10, Value = 1
  Key = 20, Value = 2
  Key = 30, Value = 3
  </code></pre>
  
  <p>i did lambda expression it changed but i need some other method to do..</p>