回答編集履歴
1
using 付け忘れ
test
CHANGED
@@ -26,6 +26,11 @@
|
|
26
26
|
構造体を Serializable でマークすると BinaryFormatter を使うことができます。
|
27
27
|
|
28
28
|
```C#
|
29
|
+
using System;
|
30
|
+
using System.Collections.Generic;
|
31
|
+
using System.IO;
|
32
|
+
using System.Runtime.Serialization.Formatters.Binary;
|
33
|
+
|
29
34
|
[Serializable]
|
30
35
|
public struct DATA
|
31
36
|
{
|