C# Developers' Journal (original) (raw)

1:40p

If I have a member of my class that is from a library, and that class is not marked as serializable, what is the best way to get around that so I can serialize my class?

Example...

[Serializable]
public class MyClass
{
public ObjectNotMarkedAsSerializable obj;
public int i;
public string j;
}

(19 Comments |Comment on this)