Directory类的基本操作

2026-02-15 18:52:23

1、1.文件--》新建--》项目。

Directory类的基本操作

2、2.选择:控制台应用程序--》命名为:Directory类的基本操作--》确定。

Directory类的基本操作

3、3.确定后系统生成的代码。

Directory类的基本操作

4、4.测试1:导入命名空间创建一些目录测试

Directory类的基本操作

5、5.测试1测试结果:目录创建成功。

Directory类的基本操作

Directory类的基本操作

6、6.测试2:删除一些目录测试。

Directory类的基本操作

Directory类的基本操作

Directory类的基本操作

Directory类的基本操作

猜你喜欢