C# extension methods Utlity