本文介绍了使用为类定义的可序列化属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以告诉我,将类定义为可序列化有什么用. 类可序列化时的行为 问候 Chaithanya
Hi, Can any one Please tell me what is the use of defining a class as serializable. How the class behaves when it is serializable Regards Chaithanya
推荐答案您需要获取一本书/教程,或者只是应该使用Google搜索. 阅读有关什么是序列化?"的内容 从这里开始:序列化简介 [ ^ ] 关于您要求的属性,在这里: SerializableAttribute [ ^ ] 所有属性的作用是将该类标记为可序列化. You need to get a book/tutorial or simply should have Googled. Read about "What is Serialization?" Start from here: Introduction to serialization[^] About the attribute you asked, here: SerializableAttribute[^] All attribute does is mark the class as serializable.
更多推荐
使用为类定义的可序列化属性
发布评论