c# utillities