title: How do I create a Dictionary that holds different types in C#
body: <p>I need some sort of way to store key/value pairs where the value can be of different types.</p>
  
  <p>So I like to do:</p>
  
  <pre><code> int i = 12;
   string s = "test";
   double x = 24.1;
  
   Storage.Add("age", i);
   Storage.Add("name", s);
   Storage.Add("bmi", x);
  </code></pre>
  
  <p>And later retrieve the values with:</p>
  
  <pre><code> int a = Storage.Get("age");
   string b = Storage.Get("name");
   double c = Storage.Get("bmi");
  </code></pre>
  
  <p>How should a Storage like this look like?
  Thanks,
  Erik</p>