Hi
Can any one explain me about what is Attributes in c# with simple samples.
thanks.
Refer
Attributes are generally used to provide extra properties to properties, classess
For Example [WebMethod] attribute makes a normal method as Web Method.
Same way you can create your own Custom attributes for varius pruposes
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.