title: Random number generator choosing only between given few numbers in C#
body: <p>I know how to choose random numbers between two numbers. However I don't know how to make it to choose a random number that I tell it.</p>
  
  <p>This is what I am trying to do. I have 5 integers.</p>
  
  <pre><code>int Hamburger = 5;
  int Sandwich = 7;
  int ChickenSalad = 10;
  int Pizza = 15;
  int Sushi = 20;
  </code></pre>
  
  <p>5,7,10,15,20 are the prices of each food and I want to make it so that it would choose a random number from these chosen numbers. 5,7,10,15,20. </p>
  
  <p>I am new to C# so I don't really know much about this. I found this </p>
  
  <pre><code>randomNoCorss = arr[r.Next(arr.Length)];
  </code></pre>
  
  <p>in another post but I don't understand it and I don't know how I can put it in my code.</p>