title: Can pointers be used with Dictionary<TKey,TSource>?
body: <p>Let's say I have the following class:</p>
  
  <pre><code>    public class MyClass {
      public string FirstAttribute {
          get {
              return Attributes["FirstAttribute"];
          }
          set {
              Attributes["FirstAttribute"] = value;
          }
      }
      public string SecondAttribute {
          get {
              return Attributes["SecondAttribute"];
          }
          set {
              Attributes["SecondAttribute"] = value;
          }
      }
      public Dictionary&lt;string, string&gt; Attributes;
      public MyClass(Dictionary&lt;string,string&gt; att) {
          Attributes = att;
      }
  }
  </code></pre>
  
  <p>and I wanted to be able to obtain a pointer to the value that is stored in the Dictionary, so that I can get and set the values (yes unsafe) directly without having to wait for the Dictionary to search for the element by key every time.</p>
  
  <p>Is there a way to do that in c#?</p>