CreateSaveBodyFeature Method not working in c# macro

I created a c# version of macro as in http://help.solidworks.com/2012/English/api/sldworksapi/Create_Save_Bodies_Feature_and_Create_an_Assembly_Example_vb.htm.

But my c# macro is not working but vb macro is working. I attached my c# macro. Please find wha't the fault with the macro.

SolidworksApi macros