A declarative tag is represented by square brackets [] above the definition of the elements that is it can be above the class or it can be above the method .
For example:
[attribute(positional parameters,named parameters)]
Here, in the above example positional parameters are essential information of an attribute whereas name parameters are the optional information of an attribute.

