문제

I have a windows application(VB.net) which involves copying a huge number of files to a specified location, and performance is the issue i need to check on. I have two ways of doing this:File.Copy and other using Filestream. Which one of the above option is faster? and is there any other faster way to achieve this?

도움이 되었습니까?

해결책

File.Copy is faster(*)








(*) Why would you trust a opinion in a forum? Instead of being here waiting for an answer you could be doing a test to see which method is faster

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top