title: What is a high performance way of multiplying/Adding a big array of numbers with a constant in c#?
body: <p>I have a structure (class) that keeps very large number of numbers (either float, double, int, byte) in an array.</p>
  
  <p>Now I want to have very high performance approach to apply some primitive operations (Add/Subtract/Divide/Multiply with a constant) on this array.</p>
  
  <p>This arrays is on a continuous piece of memory so for example for copying it I am using Buffer.BlockCopy.</p>
  
  <p>But what about adding a constant or multiplying with a constant?</p>
  
  <p>The first choice is to walk through the array using pointers. What other approaches do you suggest for this?</p>