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

What are Validation Annotations?

0 Answers  


What is the difference between STA and MTA?

3 Answers  


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

0 Answers   Microsoft,


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

0 Answers  


What is the difference between Finalize and Dispose (Garbage collection)

1 Answers  






What is entitytypes? : Entity framework

0 Answers  


What does assert() method do?

1 Answers   MCN Solutions, Siebel Systems,


Can I use razor code in javascript in asp.net mvc?

0 Answers  


Which is the best institute in chennai to learn DotNet?

7 Answers  


Features in .net framework 1.1 ?

1 Answers   Digital GlobalSoft,


What is orm entity framework?

0 Answers  


Explain the methods used to render the views in ASP.Net MVC?

0 Answers  


Categories