/*I have defined Extension Methods for the TypeX like this*/ public static Int32 GetValueAsInt(this TypeX oValue) { return I
Extension methods are just compiler voodoo, so they have all the performance implications of normal methods at runtime.