有没有发现什么.NET类实现某个接口的方法吗?接口、发现、方法、NET

2023-09-03 21:17:39 作者:此生再无相见时

例如,如果我想看看我的。NET的选择是对的东西实施的IList或IDictionary的。有没有办法找到例如MSDN文档中?

For example if I wanted to see what my .NET options were for something implementing IList or IDictionary. Is there a way to find that for example in the MSDN documentation?

推荐答案

要找到它在MSDN中,我通常会去谷歌,输入类似MSDN的IList,并获得到的 IList接口其中有一节即实现IList类。这适用于任何的接口类。

To find it in MSDN, I usually go to Google, type something like "MSDN IList", and to get to IList Interface which has a section "Classes that Implement IList". That's true for any of the interface classes.

如果你发现一个基类如的 DictionaryBase ,会有一个链接名为派生类的,将带你到一个树形显示的继承层次。

If you find a base class such as DictionaryBase, there will be a link called Derived Classes which will take you to a tree showing the inheritance hierarchy.