By "default" I mean just using the [Serializable] attribute on the class. I want to say that no, static fields would not be serialized, but I'm not exactly sure.
+4
A:
No; static fields are not serialized.
.Net serialization serializes instances; static fields do not belong to an instance.
SLaks
2010-10-11 02:00:36
Thanks, that's pretty much what I wanted to clarify!
Mark LeMoine
2010-10-11 03:29:06