Utility library in C#