Replies: 1 comment 1 reply
-
First, I want to 100% agree that recursively listing all folders and traversing the tree to find the desired folder is extremely cumbersome and I believe that that StackOverflow question that you linked to (or perhaps a similar question or feature-request on GitHub) pushed me to add the Second, I want to say that in general, I wholeheartedly agree with you that TryX() methods are wonderful and I personally always strive to use them instead of the non-Try variants whenever and wherever possible. I also hear you with regards to having to use try/catch being less than ideal in 'normal' control-flow. That said... a few points:
|
Beta Was this translation helpful? Give feedback.
-
That would not fail if a folder did not exist.
Existing alternatives:
References: https://stackoverflow.com/q/51643815
Beta Was this translation helpful? Give feedback.
All reactions