如何在visual studio中添加名称空间c#(how to add namespaces in in visual studio c#)
我如何将名称空间添加到visual studio中,我的意思是java字是常见的(如果你提供了对正确库的引用),你可以将导入添加到java“namespace”。 (见图)。
C#中有一些类似的功能吗? 我的意思是,我发现很难捕获正确的命名空间,因为作为一个java程序员,IDE帮助我...
正如您在给定的示例中所看到的,Netbeans甚至让我选择使用哪个“命名空间”。
How do i add namespaces to the visual studio, I mean on the java word is common that the (if you have provided the reference to the right library) you can add the import to the java "namespace". (See picture).
Is there some similar feature in C# ? I mean, I find it very hard to fish the right namespaces, because as a java programer the IDE assists me...
As you can see in the given example Netbeans even let me choose which "namespace" is to be used.
最满意答案
用图片中的鼠标来做。 或者按CTRL + . 或SHIFT + ALT + F10 (他们也这样做) 或者使用reSharper并按ALT + ENTER Do it with your mouse like in the picture. Or press CTRL + . or SHIFT + ALT + F10 (they do the same) Or use reSharper and just press ALT + ENTER更多推荐
发布评论