How can I store an arraylist of custom objects?

后端 未结 3 2015
悲&欢浪女
悲&欢浪女 2020-12-28 18:49

I have created an arraylist that is made up of custom objects. Basically the user will create a class and every time a class is created, a new Lecture (my custom object) is

3条回答
  •  悲哀的现实
    2020-12-28 19:25

    You can use:

    System.Runtime.Serialization
    

    You can see an example here: Serialization in C#

提交回复
热议问题