title: Passing just a type as a parameter in C#
body: <p>Hypothetically it'd be handy for me to do this:</p>
  
  <pre><code>foo.GetColumnValues(dm.mainColumn, int)
  foo.GetColumnValues(dm.mainColumn, string)
  </code></pre>
  
  <p>where the GetColumns method will call a different method inside depending on the type passed.</p>
  
  <p>Yes, I could do it as a boolean flag or similar, I just wondered if there was a way to perhaps pass this, and then ask:</p>
  
  <p>typeof(arg[1]) or similar...</p>
  
  <p><strong>I could also override the method, use generics, etc - I know there are  different ways to do this, I was just curious if this was possible.</strong></p>