Please explain me why we should use attributes.. (other then declaraing obsolete)
say for example
public void Test()
In the above code, I am using WebMethod() as attribute. I may have some properties like Description, Enable session etc., But my question how it is bounded with the particular class member (in our example Test()). Can I create object of attribute class? Is it like Inheritence?