Array/List/Directory of System.Type
        Posted  
        
            by Mike
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mike
        
        
        
        Published on 2010-04-15T22:30:32Z
        Indexed on 
            2010/04/15
            22:33 UTC
        
        
        Read the original article
        Hit count: 188
        
I have a lot of classes and want to create some kind of 'directory'.
So that I can create menus automatically.
Clicking a menu-item would then create an instance of the class and shows the window.
What I want for this is an array of System.Type where I can stuff in all the classes without instantiating them.
Though from my test and (unsuccessful) googling, this doesn't seem possible.
Any ideas?
© Stack Overflow or respective owner