how to deactivate objects through scripts in unity

Code Example - how to deactivate objects through scripts in unity

                
                        public GameObject Name = GameObject.Find("Name");

Name.enabled = true;