• 2022-06-19
    以下哪段代码能把数值516以二进制的形式写入My文件中。
    A: BinaryWriter bw = new BinaryWriter(File.Open("My", FileMode.Create));bw.Save(516);
    B: BinaryWriter bw = new BinaryWriter(File.Open("My", FileMode.Create));bw.write(516);
    C: BinaryWriter bw = new BinaryWriter(File.Open("My", FileMode.Create));bw.Write(516);
    D: BinaryWriter bw = new BinaryWriter(File.Open("My", FileMode.Create));bw.save(516);
  • 举一反三