摘要:
private void button1_Click(object sender, EventArgs e) { Myobject obj = new Myobject(); obj.n1 = 1; obj.n2 = 2; obj.str = "sdfdsf"; IFormatter formatter = new BinaryFormatter(); Stream stream = new FileStream("MyFile.bin", ... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { Myobject obj = new Myobject(); obj.n1 = 1; obj.n2 = 2; obj.str = "sdfdsf"; IFormatter formatter = new BinaryFormatter(); Stream stream = new FileStream("MyFile.bin", ... 阅读全文
|