serliazable attribute

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • captainB
    New Member
    • Aug 2009
    • 23

    serliazable attribute

    what is the difference between [serializable] and [serializable()]?
    Visual Studio intellisense tells me that the [serializable] attribute indicates that a class can be serialized. I understand that.

    When I use the other attribute declaration - [serializable()], intellisense tells me
    "initialize s a new instance of the System.Serializ ableAttribute class".
    Can someone explain to me why I would use this attribute as a constructor?

    Thanks!!
Working...