title: Array of function pointers in C#
body: <p>There is a set of methods like:</p>
  
  <pre><code>  Foo(int, float, params objects[])
    Goo(int, params objects[])
    Too()
  </code></pre>
  
  <p>each taking different number of &amp; type of parameters (so are return values).</p>
  
  <p>I read an integer (an index) from a database. The integer corresponds to one of the above method (1 for Foo, 2 for Goo and 3 for Too).</p>
  
  <p>How do I store above methods (as delegates) in a collection so that I can call appropriate method by indexing into the collection using the integer read from db as index.</p>