Exploring the online world is my passion. have experience of #content writing #SEO #Digital Marketing #On-Page #Lead Generation #Content Analyst #Marketing Analyst... I could never stop at one point, continuously wanted to acquire more and more skills. My work for any organization will be full of passion and hard work.
There is lots of difference between them. A property lets you get/set data in your class. And an attribute is much different, “an attribute is additional declarative information that is specified for a declaration.”
Hemant Patel
03-Mar-2017There is lots of difference between them. A property lets you get/set data in your class. And an attribute is much different, “an attribute is additional declarative information that is specified for a declaration.”
Example of Property in C#:
Example of Attribute in C#: