system.io.文件 问答列表

将 mp4 文件转换为字节数组和字符串

作者:Ariel P 提问时间:11/18/2022

我正在使用 WinForm c# 中的 firesharp 将文件上传到 firebase 实时数据库的项目。 我搜索了很多以了解如何做到这一点。 我知道编写 File.ReadAllBytes(...

我在以下代码行 DirectoryNotFoundException 中收到此错误:找不到路径的一部分

作者:ismail temel 提问时间:1/10/2023

在这里,我从 using 行收到错误 using (var filestream = new FileStream(fullPath, FileMode.Create)) { await file...

流阅读器。当文本文件为字符串时,读取错误计为 int

作者:NeedthisPLEASE 提问时间:4/14/2023

static void Main(string[] args) { StreamReader blobread = new StreamReader("input.txt"); int heig...

File.Copy 失败,并显示参数不正确

作者:Tobias Krasinger 提问时间:11/8/2023

如果有以下代码: File.Copy(@"c:\temp\test1.txt", @"c:\temp\test2.txt", true); 它失败了: System.IO.IOExceptio...


共4条 当前第1页