Issue with deserialization of a static property in .Net
Posted
by Punit Singhi
on Stack Overflow
See other posts from Stack Overflow
or by Punit Singhi
Published on 2009-09-17T12:53:05Z
Indexed on
2010/04/05
6:13 UTC
Read the original article
Hit count: 299
c#3.0
|deserialization
I have a class called Test which has four public properties and one of them is static. the problem is after deserialization the static property contains null value. i have debugged the code and found that at server side it contains the value which is a collection , but at client side it becomes null after deserialization. i know static members doesn't serialize and deserialize so obviously it should contain the value.
© Stack Overflow or respective owner