Ambiguous Reference error between two namespaces

前端 未结 3 1451
慢半拍i
慢半拍i 2021-01-15 15:38

I get this message while trying to run a webservice on the browser. Note that the source code is a windows file and can\'t be changed for my need.

Com

3条回答
  •  无人共我
    2021-01-15 16:08

    You can fully qualify the class name when you declare your variable.

    Don't do

    Message msg = new Message();
    

    Do:

    ThreeDSeekUtils.Message msg = new ThreeDSeekUtils.Message();
    

提交回复
热议问题