What are custom attributes in C#?

Attributes are metadata extensions that give additional information to the compiler about the elements in the program code at runtime . Attributes are used to impose conditions or to increase the efficiency of a piece of code.

Sizin İçin Seçtik  What is the difference between an attribute and a property in C#?

Leave a Reply

Your email address will not be published. Required fields are marked *