Property type not string or int but point to another class, can I still Serialize the object?

Jan 10, 2013 at 6:28 AM
I have a class(for instance Student) which has a property (its property type is not string or int) pointing to another class (for instance Classroom), can I still Serialize objects created from class Student?
Jan 10, 2013 at 9:21 AM


If ClassRoom is serializable then yes, I believe you should be able to do this. There's only one way to know for sure of course, try it out :)