Basic Dot Net Question:
Download Questions PDF

What are Attributes in .NET?

Answer:

Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Predefined attributes such as Assembly Version, which already exist and are accessed through the Runtime Classes; and custom attributes, which you write yourself by extending the System.Attribute class.

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
What is "Common Language Runtime" (CLR) in .NET? What are the Types of Assemblies in .NET?