hi,
I've been trying to work on NXopen(NX is a cad software). I'm using c# codes for that. For opening a new file in NX this is the syntax which has been given

int UF_PART_new
(

const char * part_name,
int units,
tag_t * part

)

This is the code I made in Visual Studio

//TODO: Add your application code here
const char *part_name=@"D:\\rahul\\assignments\\extrude1.prt";
tag_t part= NULL_TAG;
int units=1;
int UF_PART_new(part_name,units,&part)

Now I'm getting errors like

Expected ; or =(cannot specify constructor arguments in declaration)
; expected

both are on "int UF_PART_new(part_name,units,&part)" line. Please someone help me on this.