Is it true that every object that use .ToString() in asp.net can be called as serialization ?
If yes then why and if no then why not..
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, this is not true. If an object overrides
ToStringit means that you can print its values but the process is not necessary reversible. Serialization is a reversible process when an object instance is converted to some format. Deserialization is the inverse process when an object instance is created from some format. In .NET common formats for serializing objects are XML and binary. For binary serialization types need to be decorated with the[Serializable]attribute.