How to serialize/deserialize an object loaded from another assembly?
问题 I want to serialize/deserialize an object that has been instantiated by another object loaded from an assembly: Interfaces.cs (from a referenced assembly, Interfaces.dll) public interface ISomeInterface { ISettings Settings { get; set; } } public interface ISettings : ISerializable { DateTime StartDate { get; } } SomeClass.cs (from a referenced assembly, SomeClass.dll) public class SomeClass : ISomeInterface { private MySettings settings = new Settings(); public ISettings Settings { get {