title: Is there a way to use ParameterInfo and PropertyInfo Interchangeably?
body: <p>To me they are very similar structures. I was hoping there was a way to cast or convert one to the other easily.</p>
  
  <p>I'm using reflection to do some magic. I've chosen the path to use parametrized constructors to create some user selected objects which they fill in values for the parameters using a UI.</p>
  
  <p>The problem is one of the objects takes in a structure as a param and I can't get at the structures properties as parameter infos just property infos.</p>
  
  <p>But I don't want to just reproduce the parameter info code I have now for property infos. It be nice if I could pass in a property info as a parameter info. Everything is really similar except for some names of some properties; ParameterType as opposed to PropertyType and what not.</p>
  
  <p>I may have to do my own conversion or write my own class that houses the properties that I need and just use that custom object instead. Cheers.</p>