Convert from VBA to C#

Hi,

i would like to convert "Dim swMathUtil As  SldWorks.MathUtility"

i tryed "SldWorks.MathUtility swMathUtil;", but i get an error saying,

"The type name 'MathUtility' does not exist in the type 'SolidWorks.Interop.sldworks.SldWorks' "

if i try

MathUtility swMathUtil;

swMathUtil = swApp.GetMathUtility();

i get an error:

"Cannot implicitly convert type 'object' to 'SolidWorks.Interop.sldworks.MathUtility'. An explicit conversion exists (are you missing a cast?)"

I need this coz im trying to move a component, and i only found an exemple that is using this operation. (Use Presentation Transforms to Move Component Example (VB6))

i dont need to see the translation, it just has to translate from one position to another.

help would be appriciated
SolidworksApi macros