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 do you truncate a table using entity data model?

0 Answers   Microsoft,


What are actions in mvc?

0 Answers  


What is meant by bootstrap in mvc5?

0 Answers  


What is CLR? How it will work?

5 Answers  


And if they have conflicting method names ?

1 Answers  






what is client wins and store wins mode in entity framework concurrency?

0 Answers   Microsoft,


Explain linq to entities? : Entity framework

0 Answers  


Define .NET architecture ?

3 Answers   TCS,


what is entity graph in entity framework?

0 Answers   Microsoft,


What are the components required to create a route in mvc?

0 Answers  


How do you do role based security ?

1 Answers   Accenture, BirlaSoft,


If foreground completes its processing will it wait for background threads?

1 Answers   Kanbay,


Categories