Utilities for C#