Ignore binary serialization on a property

ValueTotal is already ignored. Only data is serialized, not methods. Properties are methods actually.

If you wish to ignore fields and not serialize them mark them as [NonSerialized].

‘Or’

you can implement ISerializable and not serialize those field.

Here is some sample code on how can implement ISerializable and serialize data: http://www.c-sharpcorner.com/UploadFile/yougerthen/102162008172741PM/1.aspx

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)