+ 4

Serialization

What needs to be changed for serialization to succeed? https://code.sololearn.com/cZXhJ3SPZy8H/#cs

13th Apr 2020, 7:25 PM
Mary_d9
Mary_d9 - avatar
2 Réponses
+ 2
You should mark Student, StudenName and Date structures with [Serializable] attribute. There are also missing using statements: using System.IO; using System.Runtime.Serialization.Formatters.Binary;
15th Apr 2020, 6:53 PM
gambler
+ 1
gambler thanks a lot)
15th Apr 2020, 7:08 PM
Mary_d9
Mary_d9 - avatar