I can't seem to find an answer on this and just want to make sure it's an ok coding standard. I have Interface A that is used by many different classes and don't want interface A to change. I came across a new requirement that will require an enum to be needed by many of the classes that Implement Interface A, but not all the classes need this enum. I don't want the classes that don't require this new enum to Implement this new functionality. So I created Interface B that contains the new enum that I needed to add. I then made Interface B Inherit Interface A and this is my concern, Is it ok for one Interface to Inherit another Interface? To continue with my changes, I then changed the classes that needed the new enum to Implement Interface B instead of Interface A since it was Inherited by Interface B. I thought about Implementing both Interfaces in my classes that needed them but I'm using the Interface throughout the code and would like to just use one Interface for looking through classes and not two.
I hope this was clear enough (probably to long) but if anyone can give me some advice on this either I'm doing it right or I'm doing it wrong please let me know.
Thanks!