C# Utility