Hello, I’m with a problem actually, I have a class CommandLineOption. And I made some others class inherit from CommandLineOption.
CommandLineOption have “option” as parameter, and this parameter is an array with others CommandLineOption items. But how can I allow this array to accept CommandLineOption class and their class are inherit them?
Normally, it’s this:
But this Array allow only CommandLineOption, not classes inherit of it