tag:blogger.com,1999:blog-5295746446529817470.post4535236019845824981..comments2023-05-09T16:29:24.130+02:00Comments on Dotnet by Example: String extension methodsJoost van Schaikhttp://www.blogger.com/profile/02182444268071162776noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5295746446529817470.post-3062179883840993992007-12-28T10:45:00.000+01:002007-12-28T10:45:00.000+01:00That would indeed be a cleaner approach but someti...That would indeed be a cleaner approach but sometimes this is not possible - like when the original class' designer has declared the class 'sealed'Joost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-28993974694434262712007-11-27T09:44:00.000+01:002007-11-27T09:44:00.000+01:00C# is beginning to look more and more like a stron...C# is beginning to look more and more like a strongly typed JavaScript. Wouldn't deriving from the string class and then adding you own method be a "cleaner" approach?Sander Soetemanhttps://www.blogger.com/profile/16441572563386679955noreply@blogger.com