How do I generate a random number which can only be an even number?

I’m sure this is very simple for someone better than me.

I tried…

number=Random.Range(0,100);//
newEvenNumber=number/2;

…but that blows up with a stack overflow if the initial random number is odd.

var number : int = Random.Range(0,50);

number *=2;