Turning a Light on With Collision Detection

I am trying to write a script whereby when a cube lands on the floor the light turns on. I am working in C#, not in Javascript.

public class lighton : MonoBehaviour {

void OnCollisionEnter (Collision myCollision) {
	
	Light myLight = gameObject.Find("Light").AddComponent(Light);
		myLight.enabled = true;
		myLight.intensity = 5;

}

}

I get an error that says:

Static member `UnityEngine.GameObject.Find(string)’ cannot be accessed with an instance reference, qualify it with a type name instead

Any input is appreciated

OK I removed my former answer, my bad I got mixed up between Js and C#

public class lighton : MonoBehaviour {
	public Light myLight; 
	void Start () {
	 	GameObject light = GameObject.FindWithTag("Light");
		myLight = light.GetComponent<Light>();
		myLight.enabled = false;
	}	
	void Update () {
		if(Input.GetKeyDown(KeyCode.Space))
			myLight.enabled = !myLight.enabled;			
		}
}

It works for me, I can switch my light on and off. All you need now is to convert it into a collision as I am using a button to switch.