C# Programming - Attributes - Discussion

Discussion :: Attributes - General Questions (Q.No.7)

7. 

Which of the following forms of applying an attribute is correct?

[A].
< Serializable() > class sample
{ /* ... */ }
[B].
(Serializable()) class sample
{ /* ... */ }
[C].
[ Serializable() ] class sample
{ /* ... */ }
[D].
Serializablef) class sample
{ /* ... */ }
[E]. None of the above

Answer: Option C

Explanation:

No answer description available for this question.

John said: (Aug 25, 2013)  
What's the right answer ?

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.