title: Weighted Random Number Generation in C#
body: <h3>Question</h3>
  <p>How can I randomly generate one of two states, with the probability of 'red' being generated 10% of the time, and 'green' being generated 90% of the time?</p>
  <h3>Background</h3>
  <p>Every 2 second either a green or a red light will blink.</p>
  <p>This sequence will continue for 5 minutes.</p>
  <p>The total number of occurrences of a blinking light should be 300.</p>