I realize this is a very strange question. Let me just say that I have my reasons. (I tend to write very long, wordy questions; I want to keep this one short.)
If I have some type T
, can I use reflection to define a new type, let's call it T2
, that will basically be identical to T
? What I'm looking for is essentially a dynamic way to do the equivalent of what would result if I wrote the exact same code (except for class name) in two separate source code files and compiled both.