C# ISerializable question

Posted by 5YrsLaterDBA on Stack Overflow See other posts from Stack Overflow or by 5YrsLaterDBA
Published on 2010-03-19T17:07:11Z Indexed on 2010/03/19 17:11 UTC
Read the original article Hit count: 226

Filed under:

I am planning to use serialization to do clone. I have to make my class ISerializable. But how about its super classes and all referenced variable classes? do I need to make them all ISerializable?

If I use ISerializable. I have to implement the GetObjectData(), what I should put inside that method? leave it empty is ok?

© Stack Overflow or respective owner

Related posts about c#