How do you organize your Utility functions?
It depends on what they are doing. In many ways, I group my utility functions into classes based on what they work. I tend to ignore the guidelines that specify the minimum number of methods for each class; if it makes sense for a method to belong to a class because it works with a specific data type, then it goes into the class, the number of methods must be damned.
However, utilities are usually the main candidates for extension methods these days. So the factors are quite common.
source to share
Usually my class composition is determined by looking at the type of data being used or the relationships between methods that I have to organize.
Then I wrap up my utility classes in the .Utilities namespace and physically split them into a folder with the same name.
This usually means that whatever is contained is used for service purposes.
source to share