walterlv / BlogComments

3 stars 0 forks source link

post/search-pattern-of-dotnet-directory-getfiles #141

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Directory.GetFiles 中传入搜索字符串(Search Pattern)的神奇规则 - walterlv

众所周知,文件名的匹配规则里同配符 ? 代表单个字符,通配符 * 代表多个字符。然而,具体到 Directory.GetFiles(string path, string searchPattern) 方法调用时,却又有一些大家不一定知道的细节。不信?我出一道题大家试试!

https://blog.walterlv.com/post/search-pattern-of-dotnet-directory-getfiles

czwy commented 1 year ago

在.net fx中适用,.Net6/7中不适用

Yue-cn commented 1 year ago

一直就很疑惑: 有时候Binding很垃,Binding到2个以上不同后,会出现无缘无故的XAML 绑定失败。