Articles → .NET → Attribute in C#

Attribute in C#






What is an attribute?





Declarative information




<b>text</b>





Syntax


[Attribute_Name]
Element



Example


[Obsolete]
public int MyObseleteProperty {
	get;
	set;
}





Posted By  -  Karan Gupta
 
Posted On  -  Thursday, February 16, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250