How would you serialize an assembly? An assembly defines a set of types,
not a runtime grouping of those types.
Do you mean how do you mark a class as serializeable? If you want an
application "instance" serialized as a whole you do that by marking all the
classes as serializeable. Then serialize the main class instance (object)
that holds a reference to all other objects (such as an "Application"
class).
[Serializable]public class Application{...}
[Serializable]public class Document{...}
etc...
Now you need to ensure all the classes serialize properly... Basic,
Selective, or Custom. See the following link:
http://msdn.microsoft.com/library/d...-us/cpguide/html/cpconbinaryserialization.asp
Let me know if this helps.