C# Programming - Attributes - Discussion

Discussion Forum : Attributes - General Questions (Q.No. 7)
7.
Which of the following forms of applying an attribute is correct?
< Serializable() > class sample
{ /* ... */ }
(Serializable()) class sample
{ /* ... */ }
[ Serializable() ] class sample
{ /* ... */ }
Serializablef) class sample
{ /* ... */ }
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Hackie said:   2 years ago
Please give me an explanation for this.

John said:   1 decade ago
What's the right answer ?

Post your comments here:

Your comments will be displayed after verification.