Home / C# Programming / Attributes :: Discussion

Discussion :: Attributes

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

  2. A.
     class sample
      { /* ... */ }
    B.
    (Serializable()) class sample 
     { /* ... */ }
    C.
    [ Serializable() ] class sample
      { /* ... */ }
    D.
     Serializablef) class sample
     { /* ... */ }
    E.

    None of the above

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment