title: How to create an array without knowing how many values will be store?
body: <p>In C# I'm storing values in an array.</p>
  
  <p>So to create this array I'm using this code, 'int[] values = new int[10];'</p>
  
  <p>But, what if I need more than 10 values, or in the case I never know how many values  I will have. Could be 1, 10 or 100. </p>
  
  <p>I understand the idea that I need to let the compiler know how big the array should be so it can allocate memory space for it.</p>
  
  <p>Is there a way to work around that? </p>