Which event would you use to run a method immediately before deserialization occurs?

Which event would you use to run a method immediately before deserialization occurs?
A.

OnSerializing
B. OnDeserializing
C. OnSerialized
D. OnDeserialized

OnDeserializing occurs immediately before deserialization.

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.