Ashutosh
10/15/2008 3:40:00 PM
Hi,
Can someone please tell me whats so special in applying the
"Serializable" attribute to a type??? I understand that it must be
applied to a type if it has to be serialized. I want know what extra
work the compiler does in this case?
I know how to crate attributes and how a method/type can check for the
presence of a attribute and also that this is a Pseudo-custom
attribute....When any attribute is applied to a type, the compiler just
adds the information to the meta data of the module, which can be
retrieved at the run time.
*So, does the compiler does some check on the type or restrict the
declaration of a type when Serializable attribute is applied to it?*
Thanks & Regards,
Ashutosh