Which among the following is the correct form of applying an attribute?

Ngô Quốc Huy

New member
Which among the following is the correct form of applying an attribute?
A.
Code:
  <Serializable()>class sample
  {
  }
B.
Code:
  (Serializable())class sample
  {
  }
C.
Code:
  [Serializable()] class sample
  {
  }
D. None of the mentioned
 

Tìm kiếm

Back
Top