title: How to find amount of parameters in a constructor
body: <p>I'm trying to find a way to determine how many parameters a constructor has.</p>
  
  <p>Now I've built one constructor with no parameters and 1 constructor with 4 parameters.</p>
  
  <p>Is there, in C#, a way to find out how many parameters a used or given constructor has?</p>
  
  <p>Thing is, I'm using a third constructor to read log files. These logs files are read as string[] elements and there should be just as many as there are arguments. If not, I have a corrupt log file.</p>
  
  <p>But I'm using a lot of subclasses and each constructor has more parameters for their specific log-type.</p>
  
  <p>So I wanted to know: is there a method to check the amount of parameters on a constructor?</p>
  
  <p>And yes, this is a school assignment. I don't know what terms to look for really, so the VS2008 object browser is currently not of much use.</p>