What Are Attributes in DotNet?
Submitted by: AdministratorAn Attribute is a declarative tag which can be used to provide information to the compiler about the behaviour of the C# elements such as classes and assemblies.
C# provides convenient technique that will handle tasks such as performing compile time operations , changing the behaviour of a method at runtime or maybe even handle unmanaged code.
C# Provides many Built-in Attributes
Some Popular ones are
- Obsolete
- DllImport
- Conditional
- WebMethod
and Many more.
Members please keep on posting more responses providing more In-Built attributes.
Regards Hefin Dsouza
Submitted by: Administrator
C# provides convenient technique that will handle tasks such as performing compile time operations , changing the behaviour of a method at runtime or maybe even handle unmanaged code.
C# Provides many Built-in Attributes
Some Popular ones are
- Obsolete
- DllImport
- Conditional
- WebMethod
and Many more.
Members please keep on posting more responses providing more In-Built attributes.
Regards Hefin Dsouza
Submitted by: Administrator
Read Online OOP Job Interview Questions And Answers
Top OOP Questions
☺ | What is pure virtual function in OOP? |
☺ | When to use Interface over abstract class? |
☺ | Whats the Difference between Interface and Abstract Class? |
☺ | Can we call a base class method without creating instance? |
☺ | What is Abstract method? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |