What are attributes



What are attributes..

Answer / kirti

There are at least two types of .NET attribute. The first type I will refer to as a metadata attribute - it allows some data to be attached to a class or method. This data becomes part of the metadata for the class, and (like other class metadata) can be accessed via reflection.

The other type of attribute is a context attribute. Context attributes use a similar syntax to metadata attributes but they are fundamentally different. Context attributes provide an interception mechanism whereby instance activation and method calls can be

pre- and/or post-processed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

How to bind table coloum with gridview column

3 Answers   Sypher Technologies,


I'm anfinal yr. engg. student with knowledge of .net. I want to refurnish my knowledge for interview purpose. Which institute is good....I am confused among Peers, Naresh it, Deccansoft...Plz help me to select the right institute.....

9 Answers  


What is a model in programming?

0 Answers  


Can we access the web controls in a page pre initialising event?

2 Answers  


what is Thread Priority?

2 Answers  






What is renderbody?

0 Answers  


What is poco proxy? : Entity framework

0 Answers  


what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?

7 Answers   FutureSoft,


mention what is the key advantage of using entity framework or ef?

0 Answers   Microsoft,


What is IL

1 Answers  


What is side-by-side execution? Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables

1 Answers  


VIEWS WITH SYNTAX AND EXAMPLE IN SQL

1 Answers  


Categories