Adding static getter thanks to extensions

Here a simple scenario: You have a StringComparer and you want to add your own comparer to the mix - for example a "natural sort" order, so "file2" sorts before "file10" instead of after.

With C# 14 we can extend the family and make it feel natural!

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论