title: How to literally define an array of decimals without multiple casting?
body: <p>How can I define an array of decimals without explicitly casting each one?</p>
  
  <pre><code>//decimal[] prices = { 39.99, 29.99, 29.99, 19.99, 49.99 }; //can't convert double to decimal
  //var prices = { 39.99, 29.99, 29.99, 19.99, 49.99 }; //can't initialize... 
  decimal[] prices = { (decimal)39.99, (decimal)29.99, (decimal)29.99, (decimal)19.99, (decimal)49.99 };
  </code></pre>