简体   繁体   English

C#名称空间搜索

[英]C# namespace search

I'm new to c# and I'm always Googling to find namespaces. 我是c#的新手,我总是谷歌搜索命名空间。 Is there a better way, a namespace search page or something like that? 有没有更好的方法,命名空间搜索页面或类似的东西?

Thanks 谢谢

If you're using visual studio (express) you can simply use the help (either locally, or it will redirect you to the msdn website). 如果你正在使用visual studio(express),你可以简单地使用帮助(在本地,或者它会将你重定向到msdn网站)。

On the other hand I've often found that if a site offers exactly the information you look for, it's often easier to use google than the sites build in search functions :-) 另一方面,我经常发现,如果一个网站提供了你所寻找的信息,那么使用google通常比搜索功能中的网站更容易:-)

在MSDN上的.NET库中有一个很好的所有命名空间列表

You could try the Resharper plugin 你可以试试Resharper插件

If you're a student or developing open source projects, it's free 如果您是学生或开发开源项目,它是免费的

Are you referring to finding the right DLL for a given namespace? 你指的是为给定的命名空间找到合适的DLL吗? Some namespaces are spread amongst several DLLs. 一些名称空间分布在几个DLL中。 Each class page on MSDN will list which DLL that class is in. EG The DataContractAttribute class is in the System.Runtime.Serialization.dll. MSDN上的每个类页面将列出该类所在的DLL.EG DataContractAttribute类位于System.Runtime.Serialization.dll中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM