title: how do i use a class without instantiating it?
body: <p>I have class:</p>
  
  <pre><code>static class GetRole
      {
          public static string OfUser(string username)
          {
              string result="None";
              foreach (string key in WebConfigurationManager.AppSettings)
              {
                  if (WebConfigurationManager.AppSettings[key].Contains(username))
                  {
                      result = WebConfigurationManager.AppSettings[key];
                      break;
                  }
              }
  
              return result;
          }
      }
  </code></pre>
  
  <p>i would like to use it lik ethis</p>
  
  <pre><code>string role = GetRole.OfUser(username);
  </code></pre>
  
  <p>or like this even better:</p>
  
  <pre><code>string role = GetRole(username);
  </code></pre>
  
  <p>how do i do this?</p>