title: How or is it possible to store an array of integers into a dictionary in C#? i.e. is <Integer, int[]> possible?
body: <p>I'm new to C# and I'm just writing a quick/small scale app for personal use. I would like to have a Hash table that associates enum values to an array containing integers i.e. int [] format. Is this possible without resorting to using an ArrayList? </p>
  
  <p>I played with the syntax and I am having no luck. I basically want <code>Dictionary&lt;Integer, int[]&gt;</code> </p>
  
  <p>EDIT:</p>
  
  <p>I'm writing a pattern matching algorithm and there are three different types represented by an enum. I am keeping track of integer values in an array of size 6 to determine a prediction. </p>
  
  <p>The simplification of the problem is that there is a list of integers being built up, and it would be greatly beneficial if I could predict the next part of a sequence before it arrives.</p>
  
  <p>It's a very simple algorithm, and doesn't involve anything complex other than a few math tricks like gcd, etc. </p>
  
  <p>Btw, thank you for the help! –  </p>