Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
May 06, 2013
Can any one explain me the following
- What is attributes?
- Why should we go for attributes then properties?
- What is the difference between attributes and properties?
- What are things that are achieved by attributes that are not by properties
Hope this is clear. Please let me know if this not.
I just want this basics answers before i get in to this topic.
Please let me know ASAP.
Posted Date: June 04, 2013 Points: 20
They always get me confused, but generally attributes and properties don't differ much from each other. Is there anyone who can give the best answer?
Posted Date: July 15, 2013 Points: 20
Attributes is declarative tag used to convey information to run time about the behavior of Class(or) Methods(or) Properties.
For example,if we mark any method as [Obsolete] this indicates,method was no longer used and it will be removed completely in future.
Posted Date: October 11, 2013 Points: 20
Attributes are an aspect of object oriented programming that are given a great deal of emphasis in c++ and some other object oriented languages.Each object oriented program uses a different method for determining attributes.
To post reply
Related Questions Related Questions
how to set html attributes to asp.net controls
Please Expalain these Basics of C#
What are the attributes available in Web method in Webservice?
How to read all the attributes from an XML element
basics of oracle
Latest Forum Questions From The Same Category
Brief explanation with sample examples on oops conects and Access Specifiers in .net?
propeties in c#
Real time example of Multiple Inheritance in C#
Encapsulation Vs Abstraction
Example for encapsulation
Real time example of multiple inheritance
What is function overriding? give me an example
Use of Private Constructors
SingleTon Design Patterns
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend