since interface cannot be serialized, have you ever tried the base class - List<Creature>?? think it should work. furthermore, you must add a parameterless constructor to your Dog and Cat class.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Xml-serilizing with interfacesThreaded View
|
Click Here to Expand Forum to Full Width |