In Java this is called an annotation, in C# this is called an attribute. C# has had them since its first release , in Java they appeared with version 1.5. A good example of an attribute is the [Obsolete] attribute in C# to mark elements that are going out of service (the same as deprecated in Java).12 Ağu 2005
Read moreWhat is the difference between properties and attributes C#?
Attribute is a quality or object that we attribute to someone or something . For example, the scepter is an attribute of power and statehood. Property is a quality that exists without any attribution.
Read moreWhat is an attribute C#?
Advertisements. An attribute is a declarative tag that is used to convey information to runtime about the behaviors of various elements like classes, methods, structures, enumerators, assemblies etc. in your program . You can add declarative information to a program by using an attribute.
Read more