.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Forum >> OOPS >> Post New QuestionBookmark and Share Subscribe to Forum

Attributes Basics

Posted By: vasanth     Posted Date: May 06, 2013    Points:5   Category :OOPS

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.


Author: Anna Harris             
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?

Author: Krishna             
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.

Author: ashleyturnier             
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.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend