How to create a gameobject by code

Code Example - How to create a gameobject by code

                
                        GameObject testCube; //insert the gameObject you want
void Start() {
  testCube = new GameObject("Test_Cube");//determines name
}