I’m working on a personal helper library for my projects.
I have a lot of helper class and extension methods for my library but I can not decide this helper class namespaces and method to static or extension?
In which case the methods should be static? StringUtility.ToBase64("xxxx")
In which case the methods should be extension-static? (I know extensions must be static) "xxxx".ToBase64()
How can i determine strategy easily for this behaviours?
http://blogs.msdn.com/b/brada/archive/2009/01/12/framework-design-guidelines-extension-methods.aspx