Instantiate object in C#

I have these lines in my code

Instantiate (Cube_Transform,Vector3(posx,posy,posz), Quaternion.identity);
Instantiate (build,Vector3(posx,posy+0.525f,posz+0.6f),Quaternion.identity);

It works in Java. But now I convert my game to C#. I tried to convert in online converter (Js->C#). But it doesn’t change these lines. And it gives errorsalt text

Instantiate (Cube_Transform, new Vector3(posx,posy,posz), Quaternion.identity) as Transform;
Instantiate (build, new Vector3(posx,posy+0.525f,posz+0.6f),Quaternion.identity) as Transform;