I am looking at a class in a solution that implements the ISerializable interface. It has a GetObjectData method for serialization as required by t
I see, implementing ISerializable is not neccessary for this class.or you must add a constructor with signature (SerializationInfo information, StreamingContext context) :
protected PersonName (SerializationInfo info, StreamingContext context){
this.NamePrefix = info.GetString("NamePrefix");
this.SurName = info.GetString("SurName");
this.GivenName = info.GetString("GivenName");
}