Is there a good way to use a object from Type Type in a generic method? - C#