How are the attributes specified in C#

A) Enclosed with in [ ]
B) Enclosed with in ( )
C) Enclosed with in { }

Showing Answers 1 - 4 of 4 Answers

Elean0r

  • May 24th, 2011
 

[]
In C# attributes are applied to a target ( method, field, class/struct etc.) by placing the attribute definition in square brackets immediately preceding the target declaration.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions