unity how to set an objects postion x,y,z

C#
transform.position = new Vector3(x, y, z);
Source

Also in C#: