Identical class names in different namespaces

前端 未结 6 1827
无人共我
无人共我 2021-01-11 13:33

I have two different namespaces, with lots of classes with the same name. I believe some code will make it easier to understand:

namespace Print.Pdl.PostScri         


        
6条回答
  •  孤城傲影
    2021-01-11 14:29

    If there's no functional or interface difference between the two proposed base classes then maybe create another, general namespace with the BaseOperator in it - and just define it once.

提交回复
热议问题