上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: title: FileInfo 和 DirectoryInfo date: 2022-12-09T15:24:08Z lastmod: 2022-12-09T16:12:53Z FileInfo 和 DirectoryInfo 通过 FileInfo​ 和 DirectoryInfo​ 类来读取文件 阅读全文
posted @ 2023-10-04 15:51 天空之城00 阅读(50) 评论(0) 推荐(0)
摘要: title: FileMode,FileAccess 的参数释义 date: 2022-12-09T16:20:46Z lastmod: 2022-12-09T16:21:17Z FileMode,FileAccess 的参数释义 首先,FileMode,FileAccess都是枚举类型。 一:Fi 阅读全文
posted @ 2023-10-04 15:51 天空之城00 阅读(389) 评论(0) 推荐(0)
摘要: title: 文本读取和写入流 date: 2022-12-10T11:04:15Z lastmod: 2022-12-10T11:30:02Z 文本读取和写入流 文本流的创建 直接创建 StreamReader reader = new StreamReader(@"E:\file.zip"); 阅读全文
posted @ 2023-10-04 15:51 天空之城00 阅读(18) 评论(0) 推荐(0)
摘要: title: 文件的读取和写入 date: 2022-12-09T15:59:55Z lastmod: 2022-12-09T16:16:14Z 文件的读取和写入 读取文件 方法 说明 ​File.ReadAllText(FilePath);​ 读取指定路径的文件 ​File.ReadAllText 阅读全文
posted @ 2023-10-04 15:50 天空之城00 阅读(33) 评论(0) 推荐(0)
摘要: title: 文件读取流和写入流 date: 2022-12-09T16:16:19Z lastmod: 2022-12-10T11:11:36Z 文件读取流和写入流 读写内存使用 System.IO.MemorySystem​ 处理网络数据使用 Net.Sockets.NetworkStream​ 阅读全文
posted @ 2023-10-04 15:50 天空之城00 阅读(6) 评论(0) 推荐(0)
摘要: title: TCP 和 UDP 的区别 date: 2022-12-10T13:40:31Z lastmod: 2022-12-10T13:43:14Z TCP 和 UDP 的区别 基于连接(TCP)和无连接(UDP) 对系统资源的要求(TCP 较多,UDP 少) UDP 程序结构较简单 流模式( 阅读全文
posted @ 2023-10-04 15:49 天空之城00 阅读(10) 评论(0) 推荐(0)
摘要: title: TCP 通信 date: 2022-12-10T11:31:21Z lastmod: 2022-12-10T12:15:37Z TCP 通信 TCP 服务端 Socket tcpServer = new Socket(AddressFamily.InterNetwork, Socket 阅读全文
posted @ 2023-10-04 15:49 天空之城00 阅读(23) 评论(0) 推荐(0)
摘要: title: UDP 通信 date: 2022-12-10T11:32:27Z lastmod: 2022-12-10T13:37:21Z UDP 通信 UDP 服务端 Socket udpServer = new Socket(AddressFamily.InterNetwork, Socket 阅读全文
posted @ 2023-10-04 15:49 天空之城00 阅读(7) 评论(0) 推荐(0)
摘要: title: DebuggerStepThrough 特性 date: 2022-12-05T18:26:14Z lastmod: 2022-12-05T18:36:36Z DebuggerStepThrough 特性 [DebuggerStepThrough] static void Test() 阅读全文
posted @ 2023-10-04 15:48 天空之城00 阅读(9) 评论(0) 推荐(0)
摘要: title: Obsolete 特性 date: 2022-12-05T18:13:27Z lastmod: 2022-12-05T18:22:44Z Obsolete 特性 [Obsolete] static void Test() { } ​[Obsolete]​ 特性:弃用 ​Obsolete 阅读全文
posted @ 2023-10-04 15:46 天空之城00 阅读(21) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 13 下一页