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!!
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!!