I\'m not really familiar with creating generic methods, so I thought I\'d put this question to the community & see what comes back. It might not even be a valid use of gener
I'm thinking generics is not exactly what you are looking for here.
Instead you might want to take one of two different approaches
Make all of your classes descend from a common one which has a virtual method called "Render" or something similiar. That way you can just call the classes render method.
Make all of your classes implement an Interface which has a Render method..
That you you would just call:
Although each class then has to implement it's own Render method, you would 1. avoid reflection, 2. have complete control on a class basis on what the output is.