Ask Your Question
0

In C#, is the speed of FileStream and File.Exists affected by the quantity of files within a directory?

asked 2023-05-27 03:40:34 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-27 04:03:01 +0000

david gravatar image

Yes, the speed of FileStream and File.Exists can be affected by the quantity of files within a directory. When there are large numbers of files within a directory, accessing or checking each file can take longer and may result in slower performance. Additionally, the size and complexity of the individual files can also affect their speed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-27 03:40:34 +0000

Seen: 11 times

Last updated: May 27 '23