audio on collision

I want to have an audio play when an object collides into somthing.
what would the script look like?
Here is my code, please tell me how to do this.

var sound: //unkown;
function OnCollisionEnter (collision: Collision) {
	if (collision.gameObject.name == "win") {
		sound.play();
	}
}

Assuming there’s already an AudioClip linked to the gameObject AudioSource component in the Inspector… well then it should be an AudioSource, yeah:

var sound:AudioSource; //don't forget to link it in the Inspector
function OnCollisionEnter (collision: Collision)
{
    if (collision.gameObject.name == "win")
    {
       sound.Play();
    }
}