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

Code Example - unity how to set an objects postion x,y,z

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