How to get the namespace alias operator :: to work under C#?

后端 未结 4 777
遇见更好的自我
遇见更好的自我 2021-01-07 23:28

I\'ve come up against the unlikely scenario when I reference two external assemblies that both have the same namespace and type names. When I try to use the type, the compil

4条回答
  •  情深已故
    2021-01-08 00:05

    I think you need to use an extern alias. Anson Horton has a good blog on this problem and how to use extern alias to fix it.

提交回复
热议问题