some utilities written in c#