How should one structure their frequently used non-important functions (conversions, etc) in C# since everything must be contained in an object? Usually I take all these functions and put them in a static Utility class. Is this a good practice? How do most developers do it?
How should one structure their frequently used non-important functions (conversions, etc) in C# since
Share
This tends to be what most developers end up doing, myself included.
The only pitfall is when you start having a massive set utilities that shouldn’t really all belong together (conversion, database access, logging you name it…).
Try to structure these as different assemblies, so projects that do not need a set of utilities will not have to import a large set of extraneous code.