Utility classes for c#