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 |
What is routeconfig.cs in mvc 4?
mention in what all scenarios entity framework can be applicable?
Can you declare an override method to be static if the original method is non-static
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
What are class access modifiers
What is Area in ASP.Net MVC?
How does the .net framework 3.0 relate to windows vista?
what is deferred loading(lazy loading)?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
What is "out" parameter how it is used in methods?
Integer & struct are value types or reference types in .NET?
how do you query in entity model when the result has a join from from different database other than the entity model?