Specify interface member not by name but type
问题 I have a lot of similar classes generated by svcutil from some external WSDL file. Any class has a Header property and string property which named class name + "1" . For instance, I have classes: SimpleRequest that has Header property and SimpleRequest1 property. Another one is ComplexRequest that has Header property and ComplexRequest1 property. So, I want to create a common interface for such classes. So, basically I can define something like that: interface ISomeRequestClass { string