Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Windows 应用程序(VB.net),它涉及将大量文件复制到指定位置,而性能是我需要检查的问题。我有两种方法:File.Copy 和其他使用 Filestream。以上哪个选项更快?还有其他更快的方法可以实现吗?
File.Copy是比较快的(*)
File.Copy
(*) 为什么你会相信论坛上的意见?您可以进行测试以查看哪种方法更快,而不是在这里等待答案