title: Creating a simple name value mapper class in C#
body: <p>I want to create a class (static?) that simply maps a name to a value (1 to 1). What's a clean way of doing something like this:</p>
  
  <pre><code>public static class FieldMapper
  {
    public static GetValue(string Name)
    {
      if (Name == "abc")
          return "Value1";
  
      if (Name == "def")
          return "Value2";
    }
  }
  </code></pre>
  
  <p>I might be having a mind block today. I am unable to think of a clean solution for a simple problem like this :(</p>
  
  <p><strong>Edit:
  All the values are known at compile time (There is no uniqueness - different keys can map to same value). I shouldn't be creating a datastructure that adds values at runtime. Also, I would like to avoid using a XML file</strong></p>