I donβt understand how this works: when I implement the ISerializable interface, I have to define protected (unless the class is sealed, in which case the constructor should be marked as private) constructor:
protected MyClass(SerializationInfo info, StreamingContext context)
Does this access modifier make this constructor unsuitable for any object in the project to succeed in deserialization?
source share