gpt4 book ai didi

c# - VB.NET 到 C# - my.computer.getfiles()

转载 作者:太空狗 更新时间:2023-10-29 22:35:12 24 4
gpt4 key购买 nike

此 VB.NET 代码的等效 C# 代码是什么?

My.Computer.FileSystem.GetFiles(....)

最佳答案

My 类是特定于 VB.NET 的。

您可以使用 System.IO.Directory 类的静态方法 - 例如目录.GetFiles.

关于c# - VB.NET 到 C# - my.computer.getfiles(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1909348/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com