title: Set same value to an array/list without using a for loop
body: <p>I want to set a same value for a specific range of an array or list without using a loop. It would look as follows:</p>
  
  <pre><code>int[] myArray = new int[100]; 
  int lower = 20; 
  int upper = 80; 
  int value = 5;
  
  myArray.Method(lower,upper,value);
  </code></pre>
  
  <p>I have tried <code>myArray.SetValue()</code> and also <code>myList.InsertRange()</code> but it only allows to set one value, not a range.</p>
  
  <p>Is any C#-Method doing that task?
  Could that be done without a loop?</p>