我是C#的新手,並添加了對sdk的引用,但不知道使用了哪個指令。我如何知道我應該使用什麼?什麼使用指令我用於新添加的dll參考
參考的屬性顯示如下:
Name: ServiceProvider
Aliases: global
Copy Local: True
Embed Interop Types: False
File Type: Assembly
Identity: ServiceProvider
Path: C:\dmcc-dotnet-sdk\Dashboard\ServiceProvider.dll
resolved: True
我曾嘗試:
using ServiceProvider;
但是這給了我:
類型或命名空間名稱 '的ServiceProvider'無法找到( 您缺少使用指令或程序集參考?)
程序集顯示在對象瀏覽器中,所以它的所有準備就緒可以使用。
有人請指點我正確的方向。
請參閱[「應該在其標題中包含」標籤?「](http://meta.stackexchange.com/questions/19190/should-questions-include-tags-in-their-titles),其中共識是「不,他們不應該」! –