title: In C#, can an attribute be applied to a static class, method or property?
body: <p>Can an attribute be applied to a static class, method or property in c#? Like:</p>
  
  <pre><code>[MyAttribute]
  public static MyMethods(string str) ...
  </code></pre>